move global connection flags to cnn struct

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

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;
}