From dd9f2ee8fe434acecd05642115e7ca1006c9c831 Mon Sep 17 00:00:00 2001 From: mycprotein Date: Tue, 7 Jan 2025 20:48:00 +0800 Subject: [PATCH] update format --- main/ZgatewaySERIAL.ino | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main/ZgatewaySERIAL.ino b/main/ZgatewaySERIAL.ino index 46407c6856..b3cd156787 100644 --- a/main/ZgatewaySERIAL.ino +++ b/main/ZgatewaySERIAL.ino @@ -48,11 +48,11 @@ const TickType_t semaphoreTimeout = pdMS_TO_TICKS(1000); // 1 second timeout # define SEMAPHORE_SERIAL_GIVE # endif -# ifdef SENDER_SERIAL_HEARTBEAT - bool receiverReady = false; -# else - bool receiverReady = true; -# endif +# ifdef SENDER_SERIAL_HEARTBEAT +bool receiverReady = false; +# else +bool receiverReady = true; +# endif // use pointer to stream class for serial communication to make code // compatible with both softwareSerial as hardwareSerial.