Fix compiler warning for overflow on Sono

This commit is contained in:
Daniel Öster 2025-07-19 21:47:52 +03:00
parent fc20d6b7f6
commit 8f4bf68df7

View file

@ -128,7 +128,7 @@ void SonoBattery::transmit_can(unsigned long currentMillis) {
//Time and date //Time and date
//Let's see if the battery is happy with just getting seconds incrementing //Let's see if the battery is happy with just getting seconds incrementing
SONO_401.data.u8[0] = 2025; //Year SONO_401.data.u8[0] = 25; //Year
SONO_401.data.u8[1] = 1; //Month SONO_401.data.u8[1] = 1; //Month
SONO_401.data.u8[2] = 1; //Day SONO_401.data.u8[2] = 1; //Day
SONO_401.data.u8[3] = 12; //Hour SONO_401.data.u8[3] = 12; //Hour