mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-24 09:26:52 +00:00
Remove duplicate code and fix error: #if with no expression (#4307)
* Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28 * Merge PR #420 * Fixed double and missing Default class. * Use correct format specifier and fixed typo. * Removed duplicate code. * Fix error: #if with no expression --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
parent
54df153e9e
commit
f9d79964ef
@ -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;
|
||||
|
@ -432,7 +432,6 @@ void NodeDB::initModuleConfigIntervals()
|
||||
moduleConfig.telemetry.power_update_interval = 0;
|
||||
moduleConfig.neighbor_info.update_interval = 0;
|
||||
moduleConfig.paxcounter.paxcounter_update_interval = 0;
|
||||
moduleConfig.neighbor_info.update_interval = 0;
|
||||
}
|
||||
|
||||
void NodeDB::installDefaultChannels()
|
||||
|
Loading…
Reference in New Issue
Block a user