rename global conn

This commit is contained in:
Philippe Teuwen 2021-08-21 20:21:08 +02:00
commit 6a2f2b3979
23 changed files with 87 additions and 87 deletions

View file

@ -67,7 +67,7 @@ bool IfPm3FpcUsartHostFromUsb(void) {
return false;
if (!g_pm3_capabilities.compiled_with_fpc_usart_host)
return false;
return !conn.send_via_fpc_usart;
return !g_conn.send_via_fpc_usart;
}
bool IfPm3FpcUsartDevFromUsb(void) {
@ -76,7 +76,7 @@ bool IfPm3FpcUsartDevFromUsb(void) {
return false;
if (!g_pm3_capabilities.compiled_with_fpc_usart_dev)
return false;
return !conn.send_via_fpc_usart;
return !g_conn.send_via_fpc_usart;
}
bool IfPm3FpcUsartFromUsb(void) {