kopia lustrzana https://github.com/meshtastic/firmware
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>pull/4296/head^2
rodzic
54df153e9e
commit
f9d79964ef
|
@ -865,7 +865,7 @@ void GPS::writePinStandby(bool standby)
|
||||||
|
|
||||||
// Determine the new value for the pin
|
// Determine the new value for the pin
|
||||||
// Normally: active HIGH for awake
|
// Normally: active HIGH for awake
|
||||||
#if PIN_GPS_STANDBY_INVERTED
|
#ifdef PIN_GPS_STANDBY_INVERTED
|
||||||
bool val = standby;
|
bool val = standby;
|
||||||
#else
|
#else
|
||||||
bool val = !standby;
|
bool val = !standby;
|
||||||
|
|
|
@ -432,7 +432,6 @@ void NodeDB::initModuleConfigIntervals()
|
||||||
moduleConfig.telemetry.power_update_interval = 0;
|
moduleConfig.telemetry.power_update_interval = 0;
|
||||||
moduleConfig.neighbor_info.update_interval = 0;
|
moduleConfig.neighbor_info.update_interval = 0;
|
||||||
moduleConfig.paxcounter.paxcounter_update_interval = 0;
|
moduleConfig.paxcounter.paxcounter_update_interval = 0;
|
||||||
moduleConfig.neighbor_info.update_interval = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void NodeDB::installDefaultChannels()
|
void NodeDB::installDefaultChannels()
|
||||||
|
|
Ładowanie…
Reference in New Issue