From bd98561201aeae1336ee4abb623f59da017a063e Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Tue, 25 Jan 2022 18:44:37 +0000 Subject: [PATCH] Change negation checking coding style. --- P25Gateway/P25Gateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/P25Gateway/P25Gateway.cpp b/P25Gateway/P25Gateway.cpp index 360d72f..6a00e8a 100644 --- a/P25Gateway/P25Gateway.cpp +++ b/P25Gateway/P25Gateway.cpp @@ -336,7 +336,7 @@ void CP25Gateway::run() buffer[3U] = (currentTG >> 0) & 0xFFU; } - if (poll == false) + if (!poll) localNetwork.write(buffer, len); LogMessage("Switched to reflector %u due to network activity", currentTG);