Skip to content

Commit

Permalink
Fixed compile error when using GPS_DEBUG (#5275)
Browse files Browse the repository at this point in the history
  • Loading branch information
macvenez authored Nov 7, 2024
1 parent b0a5a26 commit 2eea412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gps/GPS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ void GPS::writePinEN(bool on)
// Write and log
enablePin->set(on);
#ifdef GPS_DEBUG
LOG_DEBUG("Pin EN %s", val == HIGH ? "HI" : "LOW");
LOG_DEBUG("Pin EN %s", on == HIGH ? "HI" : "LOW");
#endif
}

Expand Down

0 comments on commit 2eea412

Please sign in to comment.