move global connection flags to cnn struct

This commit is contained in:
Philippe Teuwen committed 2019-04-26 23:16:24 +02:00
1 parent 01b31c742b
commit 3b6a249646
3 files changed
+16 -15

No files matched your search

+1 -1
View File
@@ -293,7 +293,7 @@ Empirically measured delay (FTDI cable) with "hw pingng 512" :
9600 -> 1100..1150ms
(client/comms.c)
static size_t communication_delay(void) {
if (send_via_fpc) // needed also for Windows USB USART??
if (conn.send_via_fpc) // needed also for Windows USB USART??
return 2 * (12000000 / uart_speed);
return 100;
}