less global vars

This commit is contained in:
Philippe Teuwen committed 2020-06-02 00:51:42 +02:00
1 parent d234e2a8f5
commit 447105511a
12 files changed
+47 -50

No files matched your search

+2 -2
View File
@@ -77,8 +77,8 @@ struct timeval timeout = {
.tv_usec = UART_FPC_CLIENT_RX_TIMEOUT_MS * 1000
};
uint32_t newtimeout_value = 0;
bool newtimeout_pending = false;
static uint32_t newtimeout_value = 0;
static bool newtimeout_pending = false;
int uart_reconfigure_timeouts(uint32_t value) {
newtimeout_value = value;