Fixes for toolchain 28 / gcc 12

This commit is contained in:
Willy-JL
2024-02-12 04:00:35 +00:00
parent d6cc1865ca
commit 374a30a281
5 changed files with 8 additions and 8 deletions

View File

@@ -68,11 +68,11 @@ void desktop_lock_menu_draw_callback(Canvas* canvas, void* model) {
canvas_set_color(canvas, ColorBlack);
canvas_set_font(canvas, FontBatteryPercent);
int x, y, w, h;
int8_t x, y, w, h;
bool selected, toggle;
bool enabled = false;
uint value = 0;
int total = 58;
uint8_t value = 0;
int8_t total = 58;
const Icon* icon = NULL;
for(size_t i = 0; i < DesktopLockMenuIndexTotalCount; ++i) {
selected = m->idx == i;