diff --git a/os/various/chrtclib.h b/os/various/chrtclib.h index 7831be83d..7b3493636 100644 --- a/os/various/chrtclib.h +++ b/os/various/chrtclib.h @@ -46,6 +46,7 @@ extern "C" { void rtcGetTimeTm(RTCDriver *rtcp, struct tm *timp); void rtcSetTimeTm(RTCDriver *rtcp, struct tm *timp); time_t rtcGetTimeUnixSec(RTCDriver *rtcp); + uint64_t rtcGetTimeUnixUsec(RTCDriver *rtcp); void rtcSetTimeUnixSec(RTCDriver *rtcp, time_t tv_sec); #ifdef __cplusplus }