X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/5337261a68ea89b88624ca6fd7319cadd662e057..b2d84a4b240edc1e4e15793180529eacce45cec8:/mock/badge_main_loop.c diff --git a/mock/badge_main_loop.c b/mock/badge_main_loop.c index f2a366e..376661b 100644 --- a/mock/badge_main_loop.c +++ b/mock/badge_main_loop.c @@ -32,8 +32,8 @@ void badge_main_loop(void) { menu[j] = menu_buf[j]; } - size_t choice = 0; - size_t first_visible = 0; + uint8_t choice = 0; + uint8_t first_visible = 0; for(;;) { choice = badge_menu(menu, ARRAY_SIZE(menu), &first_visible, choice);