add reboot command for better testing

This commit is contained in:
Conor Patrick
2020-03-25 13:10:50 -04:00
parent 241f58657b
commit 6cd3873b37
2 changed files with 6 additions and 0 deletions

View File

@@ -734,6 +734,11 @@ uint8_t ctaphid_custom_command(int len, CTAP_RESPONSE * ctap_resp, CTAPHID_WRITE
ctaphid_write(wb, NULL, 0);
return 1;
#endif
#if defined(SOLO)
case CTAPHID_REBOOT:
device_reboot();
return 1;
#endif
#if !defined(IS_BOOTLOADER)
case CTAPHID_GETRNG: