efm8 bridge polled mode is much faster
This commit is contained in:
@@ -508,10 +508,11 @@ void ctaphid_handle_packet(uint8_t * pkt_raw)
|
||||
wb.cid = active_cid;
|
||||
wb.cmd = CTAPHID_PING;
|
||||
wb.bcnt = buffer_len();
|
||||
|
||||
t1 = millis();
|
||||
ctaphid_write(&wb, ctap_buffer, buffer_len());
|
||||
ctaphid_write(&wb, NULL,0);
|
||||
|
||||
t2 = millis();
|
||||
printf1(TAG_TIME,"PING writeback: %d ms\n",(uint32_t)(t2-t1));
|
||||
break;
|
||||
|
||||
case CTAPHID_WINK:
|
||||
|
@@ -32,7 +32,7 @@ int main(int argc, char * argv[])
|
||||
// TAG_HID|
|
||||
/*TAG_U2F|*/
|
||||
/*TAG_PARSE |*/
|
||||
TAG_TIME|
|
||||
// TAG_TIME|
|
||||
// TAG_DUMP|
|
||||
/*TAG_GREEN|*/
|
||||
/*TAG_RED|*/
|
||||
|
Reference in New Issue
Block a user