X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fdrivers%2Fao_button.c;h=4c18400a406d175725e599d2c62ca78b2f9989c2;hb=ba0239ca6839605c7ce45d56677bb9a3b782b7f2;hp=53728bceef47d99c26b54fe6ad58a637dc985c8c;hpb=fcb5d55e94058810fc8b31ad5e8caa99fa61200c;p=fw%2Faltos diff --git a/src/drivers/ao_button.c b/src/drivers/ao_button.c index 53728bce..4c18400a 100644 --- a/src/drivers/ao_button.c +++ b/src/drivers/ao_button.c @@ -125,7 +125,7 @@ _ao_button_check(uint8_t b) static void _ao_button_init(uint8_t b) { - uint8_t m = ao_arch_irqsave(); + uint32_t m = ao_arch_irqsave(); uint8_t value = _ao_button_get(b); ao_button_state[b].value = value; ao_button_state[b].time = ao_time();