mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
rtt_rtc: clarify documentation about epoch
`epoch` in this context refers to `RIOT_EPOCH`, not Unix Epoch. Clarify the documentation to avoid confusion.
This commit is contained in:
parent
73e32207df
commit
928c593bca
@ -28,7 +28,8 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Set the time as epoch with sub-second precision
|
||||
* @brief Set the time as epoch (elapsed seconds since @ref RIOT_EPOCH)
|
||||
* with sub-second precision
|
||||
* This feature is an extension provided by the `rtt_rtc` module.
|
||||
*
|
||||
* @note The actual µs precision depends on the underlying hardware.
|
||||
@ -40,7 +41,8 @@ extern "C" {
|
||||
void rtt_rtc_settimeofday(uint32_t s, uint32_t us);
|
||||
|
||||
/**
|
||||
* @brief Get the current epoch with sub-second precision
|
||||
* @brief Get the current epoch (elapsed seconds since @ref RIOT_EPOCH)
|
||||
* with sub-second precision
|
||||
* This feature is an extension provided by the `rtt_rtc` module.
|
||||
*
|
||||
* @note The actual µs precision depends on the underlying hardware.
|
||||
|
Loading…
Reference in New Issue
Block a user