Skip to content

Commit

Permalink
Update th_lib.c
Browse files Browse the repository at this point in the history
Regression used IO Manager timer, not EMON timer.
  • Loading branch information
petertorelli authored Aug 3, 2021
1 parent f66dc1c commit fe40e81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions monitor/th_api/th_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ th_timestamp_initialize(void)
// USER CODE 1 END
// Always print this message
th_printf(EE_MSG_TIMESTAMP_MODE);
/* Always call the timestamp on initialize so that the open-drain output
is set to "1" (so that we catch a falling edge) */
th_timestamp();
}

/**
Expand Down

0 comments on commit fe40e81

Please sign in to comment.