From ff10e99793fd327529b3bf324c4594e277b6eea5 Mon Sep 17 00:00:00 2001 From: Mictronics Date: Sat, 20 Jul 2024 09:55:52 +0200 Subject: [PATCH] Fix error: #if with no expression --- src/gps/GPS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gps/GPS.cpp b/src/gps/GPS.cpp index 8eb7fef27..feeac8494 100644 --- a/src/gps/GPS.cpp +++ b/src/gps/GPS.cpp @@ -865,7 +865,7 @@ void GPS::writePinStandby(bool standby) // Determine the new value for the pin // Normally: active HIGH for awake -#if PIN_GPS_STANDBY_INVERTED +#ifdef PIN_GPS_STANDBY_INVERTED bool val = standby; #else bool val = !standby;