Fixed compile error when using GPS_DEBUG (#5275)

This commit is contained in:
Marco Veneziano 2024-11-07 23:19:31 +01:00 committed by GitHub
parent b0a5a26f58
commit 2eea412f1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -794,7 +794,7 @@ void GPS::writePinEN(bool on)
// Write and log // Write and log
enablePin->set(on); enablePin->set(on);
#ifdef GPS_DEBUG #ifdef GPS_DEBUG
LOG_DEBUG("Pin EN %s", val == HIGH ? "HI" : "LOW"); LOG_DEBUG("Pin EN %s", on == HIGH ? "HI" : "LOW");
#endif #endif
} }