Working compilation

This commit is contained in:
Václav Španinger 2024-12-28 10:41:08 +01:00
parent 49d7e6d0ba
commit 4bf20be664

View File

@ -252,8 +252,8 @@ namespace esphome {
} }
} }
current = ((*d)*24*60*60) + ((*h)*60*60) + ((*m)*60) + (*s); *current = (unsigned long) round(((*d)*24*60*60) + ((*h)*60*60) + ((*m)*60) + (*s));
return 1; return 1;
} }
} // namespace esphome } // namespace esphome