diff --git a/src/effect_big_clock.cpp b/src/effect_big_clock.cpp index fedbd66..669a1fe 100644 --- a/src/effect_big_clock.cpp +++ b/src/effect_big_clock.cpp @@ -6,12 +6,12 @@ void BigClockEffect::loop() { window->clear(); uint8_t h = ntpClient.getHours(); - window->drawChar(&font_numbers3x5_blocky, 6, 2, '0' + (h / 10), &_color_font); - window->drawChar(&font_numbers3x5_blocky, 11, 2, '0' + (h % 10), &_color_font); + window->drawChar(&font_numbers3x5_blocky, 6<<8, 2<<8, '0' + (h / 10), &_color_font); + window->drawChar(&font_numbers3x5_blocky, 11<<8, 2<<8, '0' + (h % 10), &_color_font); uint8_t m = ntpClient.getMinutes(); - window->drawChar(&font_numbers3x5_blocky, 6, 9, '0' + (m / 10), &_color_font); - window->drawChar(&font_numbers3x5_blocky, 11, 9, '0' + (m % 10), &_color_font); + window->drawChar(&font_numbers3x5_blocky, 6<<8, 9<<8, '0' + (m / 10), &_color_font); + window->drawChar(&font_numbers3x5_blocky, 11<<8, 9<<8, '0' + (m % 10), &_color_font); uint8_t s = ntpClient.getSeconds(); if (s & 1) {