1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/evtimer: remove deprecated evtimer_now_min

This commit is contained in:
Karl Fessel 2022-02-14 16:17:27 +01:00
parent ec0df56b67
commit a1f5b5d05f

View File

@ -135,21 +135,6 @@ static inline uint32_t evtimer_now_msec(void)
#endif
}
/**
* @brief Return the current system time in minutes
*
* @deprecated wrongly placed convenience function, that
* may not work as expected with ztimer (32 bit)
*/
static inline uint32_t evtimer_now_min(void)
{
#if IS_USED(MODULE_EVTIMER_ON_ZTIMER)
return ztimer_now(ZTIMER_MSEC) / (MS_PER_SEC * SEC_PER_MIN);
#else
return xtimer_now_usec64() / (US_PER_SEC * SEC_PER_MIN);
#endif
}
#ifdef __cplusplus
}
#endif