nyx: Fix time offset parsing
This commit is contained in:
1 parent
b1636fbb96
commit
322280757f
2 files changed
+2
-2
No files matched your search
@@ -1145,7 +1145,7 @@ static void _update_status_bar(void *params)
|
||||
max77620_rtc_get_time(&time);
|
||||
if (n_cfg.timeoff)
|
||||
{
|
||||
u32 epoch = (u32)((s32)max77620_rtc_date_to_epoch(&time) + (s32)n_cfg.timeoff);
|
||||
u32 epoch = max77620_rtc_date_to_epoch(&time) + (s32)n_cfg.timeoff;
|
||||
max77620_rtc_epoch_to_date(epoch, &time);
|
||||
}
|
||||
soc_temp = tmp451_get_soc_temp(false);
|
||||
|
||||
Reference in new issue
Block a user