Skip to content

Commit

Permalink
Detach tm dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
chintal committed Oct 12, 2024
1 parent 58d0fea commit 7e6b5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hal_platform/u0xx/rtc_impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ uint8_t rtc_read(tm_real_t * target, void(*cb)(void)){
if (rtc_state.state != RTC_ST_IDLE) {
return 2;
}
tm_clear_rtime(target);
memset(target, 0, sizeof(tm_real_t));
rtc_state.iobuffer = target;
rtc_state.state = RTC_ST_WAIT_READ;
_rtc_wait_sync();
Expand Down

0 comments on commit 7e6b5ee

Please sign in to comment.