Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Firmware/RTK_Everywhere/ESPNOW.ino
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
frame is not critical.
**********************************************************************/

bool espnowRequestPair = false; // Modified by states.ino, menuRadio, or CLI

#ifdef COMPILE_ESPNOW

//****************************************
Expand Down
3 changes: 2 additions & 1 deletion Firmware/RTK_Everywhere/RTK_Everywhere.ino
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,7 @@ float lBandEBNO; // Used on system status menu
// ESP-NOW Globals - For other module direct access
bool espNowIncomingRTCM;
bool espNowOutgoingRTCM;
bool espnowRequestPair = false; // Modified by states.ino, menuRadio, or CLI
int espNowRSSI;
const uint8_t espNowBroadcastAddr[6] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};

Expand Down Expand Up @@ -1592,7 +1593,7 @@ bool logLengthExceeded() // Limit individual files to maxLogLength_minutes

if (nextLogTime_ms == 0) // Keep logging if nextLogTime_ms has not been set
return false;

// Note: this will roll over every 49.71 days...
// Solution: https://stackoverflow.com/a/3097744 - see issue #742
return (!((long)(nextLogTime_ms - millis()) > 0));
Expand Down