Skip to content

Commit

Permalink
fix pc build
Browse files Browse the repository at this point in the history
  • Loading branch information
conorpp committed Oct 8, 2019
1 parent 2a02d0d commit 0fbc28f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pc/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ int udp_recv(int fd, uint8_t * buf, int size)
perror( "recvfrom failed" );
exit(1);
}
printf1(TAG_DUMP, ">>"); dump_hex1(TAG_DUMP, buf, length);
return length;
}

Expand All @@ -124,6 +125,8 @@ void udp_send(int fd, uint8_t * buf, int size)
perror( "sendto failed" );
exit(1);
}

printf1(TAG_DUMP, "<<"); dump_hex1(TAG_DUMP, buf, size);
}


Expand Down Expand Up @@ -316,7 +319,7 @@ int ctap_user_verification(uint8_t arg)
uint32_t ctap_atomic_count(uint32_t amount)
{
static uint32_t counter1 = 25;
counter1 += amount;
counter1 += (amount + 1);
return counter1;
}

Expand Down

0 comments on commit 0fbc28f

Please sign in to comment.