fix offset

This commit is contained in:
Conor Patrick 2019-10-29 08:47:14 -04:00
parent e294cb3458
commit 349cbc39f2
2 changed files with 2 additions and 1 deletions

View File

@ -805,7 +805,7 @@ uint8_t ctaphid_custom_command(int len, CTAP_RESPONSE * ctap_resp, CTAPHID_WRITE
if (ctap_user_presence_test(2000) > 0) if (ctap_user_presence_test(2000) > 0)
if (ctap_user_presence_test(2000) > 0) if (ctap_user_presence_test(2000) > 0)
{ {
ctap_load_external_keys(ctap_buffer + 4); ctap_load_external_keys(ctap_buffer + 8);
param = ctap_buffer[7]; param = ctap_buffer[7];
param |= ctap_buffer[6] << 8; param |= ctap_buffer[6] << 8;
param |= ctap_buffer[5] << 16; param |= ctap_buffer[5] << 16;

View File

@ -11,6 +11,7 @@
#include "solo.h" #include "solo.h"
#define SOLO #define SOLO
#define SOLO_EXPERIMENTAL
#define DEBUG_UART USART1 #define DEBUG_UART USART1