Skip to content

Commit e6ad378

Browse files
authored
Merge pull request #788 from LeeLeahy2/no-esp-now
ESP-NOW: Move global variable into RTK_Everywhere.ino
2 parents c3a97f4 + b3954cf commit e6ad378

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Firmware/RTK_Everywhere/ESPNOW.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
frame is not critical.
2222
**********************************************************************/
2323

24-
bool espnowRequestPair = false; // Modified by states.ino, menuRadio, or CLI
25-
2624
#ifdef COMPILE_ESPNOW
2725

2826
//****************************************

Firmware/RTK_Everywhere/RTK_Everywhere.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,7 @@ float lBandEBNO; // Used on system status menu
720720
// ESP-NOW Globals - For other module direct access
721721
bool espNowIncomingRTCM;
722722
bool espNowOutgoingRTCM;
723+
bool espnowRequestPair = false; // Modified by states.ino, menuRadio, or CLI
723724
int espNowRSSI;
724725
const uint8_t espNowBroadcastAddr[6] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
725726

0 commit comments

Comments
 (0)