Fix error: #if with no expression

This commit is contained in:
Mictronics 2024-07-20 09:55:52 +02:00
parent 328becfa50
commit ff10e99793

View File

@ -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;