diff --git a/include/device.h b/include/device.h index cfb9968a..10ae119e 100644 --- a/include/device.h +++ b/include/device.h @@ -110,7 +110,7 @@ static inline void start_blinking(uint8_t sec) { static inline void start_quick_blinking(uint8_t sec) { if (!is_nfc()) start_blinking_interval(sec, 25); } -void init_led(void); +void device_init(void); void stop_blinking(void); uint8_t device_is_blinking(void); bool device_allow_kbd_touch(void); diff --git a/src/device.c b/src/device.c index 6d25723f..544bcca0 100644 --- a/src/device.c +++ b/src/device.c @@ -179,7 +179,8 @@ void stop_blinking(void) { } } -void init_led(void) { +void device_init(void) { last_blink = 0; stop_blinking(); + set_touch_result(TOUCH_NO); }