include nfc in user presence test

This commit is contained in:
Conor Patrick
2019-04-23 14:05:18 -04:00
parent 325396d518
commit eab8b81c95
2 changed files with 11 additions and 8 deletions

View File

@@ -460,6 +460,10 @@ static int handle_packets()
int ctap_user_presence_test()
{
int ret;
if (device_is_nfc())
{
return 1;
}
#if SKIP_BUTTON_CHECK_WITH_DELAY
int i=500;
while(i--)