Skip to content

Commit

Permalink
Merge pull request #95 from canokeys/feature/remove_has_touch
Browse files Browse the repository at this point in the history
remove unused param in device_loop
  • Loading branch information
z4yx committed Jul 25, 2024
2 parents 6f650fd + 6d09a5e commit e50f2a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e50f2a7

Please sign in to comment.