Remove a few unnecessary date_time to timestamp conversions

This commit is contained in:
Alessandro Genova
2025-08-26 22:23:14 -04:00
parent 450100b90a
commit 5293b7983c
3 changed files with 3 additions and 6 deletions
+1 -2
View File
@@ -96,8 +96,7 @@ static inline void _inc_uint8(uint8_t *value, uint8_t step, uint8_t max) {
static uint32_t _get_now_ts() {
// returns the current date time as unix timestamp
watch_date_time_t now = watch_rtc_get_date_time();
return watch_utility_date_time_to_unix_time(now, 0);
return movement_get_utc_timestamp();
}
static inline void _button_beep() {