Skip to content

Commit

Permalink
android u2f fix
Browse files Browse the repository at this point in the history
  • Loading branch information
onlykey committed Oct 21, 2020
1 parent 487c648 commit 8687474
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions fido2/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,18 @@ int ctap_user_presence_test(uint32_t wait)
}
while (! IS_BUTTON_PRESSED());

} else {

do
{
if (t1 + (wait) < millis()) {
fadeoff(0);
break;
}
setcolor(170); //blue
if (touch_sense_loop()) u2f_button=1;
}
while (! IS_BUTTON_PRESSED());
}

if(IS_BUTTON_PRESSED()) {
Expand Down

0 comments on commit 8687474

Please sign in to comment.