diff --git a/include/device.h b/include/device.h index d8d8d1ae..bc7e432e 100644 --- a/include/device.h +++ b/include/device.h @@ -92,7 +92,7 @@ bool testmode_err_triggered(const char* filename, bool file_wr); uint8_t wait_for_user_presence(uint8_t entry); int strong_user_presence_test(void); int send_keepalive_during_processing(uint8_t entry); -void device_loop(uint8_t has_touch); +void device_loop(void); uint8_t is_nfc(void); void set_nfc_state(uint8_t state); uint8_t get_touch_result(void); diff --git a/src/device.c b/src/device.c index 52ea1a26..a3d3178c 100644 --- a/src/device.c +++ b/src/device.c @@ -16,7 +16,7 @@ volatile static wait_status_t wait_status = WAIT_NONE; // WAIT_NONE is not 0, he uint8_t device_is_blinking(void) { return blink_timeout != 0; } -void device_loop(uint8_t has_touch) { +void device_loop(void) { CCID_Loop(); CTAPHID_Loop(0); WebUSB_Loop();