Closed oOblik closed 3 months ago
https://github.com/Gissio/radpro/blob/e57e4c57872989e01ccd306a02a22a6d0d17a5a5/platform.io/src/display.c#L949
Something like this instead?
strcatUInt32(buffer, (dateTime.hour % 12) ? (dateTime.hour % 12) : 12, 1);
Fixed.
Thanks for the contribution!
https://github.com/Gissio/radpro/blob/e57e4c57872989e01ccd306a02a22a6d0d17a5a5/platform.io/src/display.c#L949
Something like this instead?
strcatUInt32(buffer, (dateTime.hour % 12) ? (dateTime.hour % 12) : 12, 1);