less global vars

This commit is contained in:
Philippe Teuwen committed 2020-06-02 00:51:21 +02:00
1 parent b9b230bb99
commit b6077df68e
5 files changed
+13 -15

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ static bool comm_thread_dead = false;
// Transmit buffer.
static PacketCommandOLD txBuffer;
static PacketCommandNGRaw txBufferNG;
size_t txBufferNGLen;
static size_t txBufferNGLen;
static bool txBuffer_pending = false;
static pthread_mutex_t txBufferMutex = PTHREAD_MUTEX_INITIALIZER;
static pthread_cond_t txBufferSig = PTHREAD_COND_INITIALIZER;