move uart_speed to conn struct and display baudrate only for real UART
This commit is contained in:
1 parent
e9bfc3eb7a
commit
12937884f6
5 files changed
+11
-15
No files matched your search
@@ -47,6 +47,8 @@ typedef struct {
|
||||
bool send_with_crc_on_fpc;
|
||||
// "Session" flag, to tell via which interface next msgs are sent: USB or FPC USART
|
||||
bool send_via_fpc;
|
||||
// To memorise baudrate, we don't want to call get_speed systematically
|
||||
uint32_t uart_speed;
|
||||
} communication_arg_t;
|
||||
|
||||
extern communication_arg_t conn;
|
||||
|
||||
Reference in new issue
Block a user