Skip to content

Commit cea432e

Browse files
committed
Fix ESP-NOW camelcase
1 parent ea30ee3 commit cea432e

24 files changed

+40
-40
lines changed

Firmware/RTK_Everywhere/Display.ino

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -666,15 +666,15 @@ void setRadioIcons(std::vector<iconPropertyBlinking> *iconList)
666666
if (present.display_type == DISPLAY_64x48)
667667
{
668668
// There are three spots for icons in the Wireless area, left/center/right
669-
// There are three radios that could be active: Bluetooth (always indicated), WiFi (if enabled), ESP-Now (if
669+
// There are three radios that could be active: Bluetooth (always indicated), WiFi (if enabled), ESP-NOW (if
670670
// enabled) Because of lack of space we will indicate the Base/Rover if only two radios or less are active
671671
//
672672
// Top left corner - Radio icon indicators take three spots (left/center/right)
673673
// Allowed icon combinations:
674674
// Bluetooth + Rover/Base
675675
// WiFi + Bluetooth + Rover/Base
676-
// ESP-Now + Bluetooth + Rover/Base
677-
// ESP-Now + Bluetooth + WiFi
676+
// ESP-NOW + Bluetooth + Rover/Base
677+
// ESP-NOW + Bluetooth + WiFi
678678

679679
// Count the number of radios in use
680680
uint8_t numberOfRadios = 1; // Bluetooth always indicated.
@@ -3091,14 +3091,14 @@ void paintKeyProvisionFail(uint16_t displayTime)
30913091
}
30923092
}
30933093

3094-
// Show screen while ESP-Now is pairing
3094+
// Show screen while ESP-NOW is pairing
30953095
void paintEspNowPairing()
30963096
{
3097-
displayMessage("ESP-Now Pairing", 0);
3097+
displayMessage("ESP-NOW Pairing", 0);
30983098
}
30993099
void paintEspNowPaired()
31003100
{
3101-
displayMessage("ESP-Now Paired", 2000);
3101+
displayMessage("ESP-NOW Paired", 2000);
31023102
}
31033103

31043104
void displayNtpStart(uint16_t displayTime)

Firmware/RTK_Everywhere/ESPNOW.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ esp_err_t espNowAddPeer(const uint8_t *peerMac)
8383
}
8484

8585
//*********************************************************************
86-
// Start ESP-Now if needed, put ESP-Now into broadcast state
86+
// Start ESP-NOW if needed, put ESP-NOW into broadcast state
8787
void espNowBeginPairing()
8888
{
8989
if (settings.enableEspNow == false)
@@ -155,7 +155,7 @@ void espNowOnDataReceived(const esp_now_recv_info *mac, const uint8_t *incomingD
155155
{
156156
espNowRSSI = packetRSSI; // Record this packet's RSSI as an ESP NOW packet
157157

158-
// We've just received ESP-Now data. We assume this is RTCM and push it directly to the GNSS.
158+
// We've just received ESP-NOW data. We assume this is RTCM and push it directly to the GNSS.
159159
// Determine if ESPNOW is the correction source
160160
if (correctionLastSeen(CORR_ESPNOW))
161161
{
@@ -492,7 +492,7 @@ void espNowStaticPairing()
492492
{
493493
systemPrintln("Begin ESP NOW Pairing");
494494

495-
// Start ESP-Now if needed, put ESP-Now into broadcast state
495+
// Start ESP-NOW if needed, put ESP-NOW into broadcast state
496496
espNowBeginPairing();
497497

498498
// Begin sending our MAC every 250ms until a remote device sends us there info

Firmware/RTK_Everywhere/GNSS.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ class GNSS
321321
// If LBand is being used, ignore any RTCM that may come in from the GNSS
322322
virtual void rtcmOnGnssDisable();
323323

324-
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-Now) to GNSS receiver
324+
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-NOW) to GNSS receiver
325325
virtual void rtcmOnGnssEnable();
326326

327327
virtual uint16_t rtcmRead(uint8_t *rtcmBuffer, int rtcmBytesToRead);

Firmware/RTK_Everywhere/GNSS_LG290P.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ class GNSS_LG290P : GNSS
422422
// If LBand is being used, ignore any RTCM that may come in from the GNSS
423423
void rtcmOnGnssDisable();
424424

425-
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-Now) to GNSS receiver
425+
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-NOW) to GNSS receiver
426426
void rtcmOnGnssEnable();
427427

428428
uint16_t rtcmRead(uint8_t *rtcmBuffer, int rtcmBytesToRead);

Firmware/RTK_Everywhere/GNSS_LG290P.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2185,7 +2185,7 @@ void GNSS_LG290P::rtcmOnGnssDisable()
21852185
}
21862186

21872187
//----------------------------------------
2188-
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-Now) to GNSS receiver
2188+
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-NOW) to GNSS receiver
21892189
//----------------------------------------
21902190
void GNSS_LG290P::rtcmOnGnssEnable()
21912191
{

Firmware/RTK_Everywhere/GNSS_Mosaic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ class GNSS_MOSAIC : GNSS
941941
// If LBand is being used, ignore any RTCM that may come in from the GNSS
942942
void rtcmOnGnssDisable();
943943

944-
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-Now) to GNSS receiver
944+
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-NOW) to GNSS receiver
945945
void rtcmOnGnssEnable();
946946

947947
uint16_t rtcmRead(uint8_t *rtcmBuffer, int rtcmBytesToRead);

Firmware/RTK_Everywhere/GNSS_Mosaic.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2051,7 +2051,7 @@ void GNSS_MOSAIC::rtcmOnGnssDisable()
20512051
}
20522052

20532053
//----------------------------------------
2054-
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-Now) to GNSS receiver
2054+
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-NOW) to GNSS receiver
20552055
//----------------------------------------
20562056
void GNSS_MOSAIC::rtcmOnGnssEnable()
20572057
{

Firmware/RTK_Everywhere/GNSS_None.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ class GNSS_None : public GNSS
511511
{
512512
}
513513

514-
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-Now) to GNSS receiver
514+
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-NOW) to GNSS receiver
515515
void rtcmOnGnssEnable()
516516
{
517517
}

Firmware/RTK_Everywhere/GNSS_UM980.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ class GNSS_UM980 : GNSS
423423
// If LBand is being used, ignore any RTCM that may come in from the GNSS
424424
void rtcmOnGnssDisable();
425425

426-
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-Now) to GNSS receiver
426+
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-NOW) to GNSS receiver
427427
void rtcmOnGnssEnable();
428428

429429
uint16_t rtcmRead(uint8_t *rtcmBuffer, int rtcmBytesToRead);

Firmware/RTK_Everywhere/GNSS_UM980.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1570,7 +1570,7 @@ void GNSS_UM980::rtcmOnGnssDisable()
15701570
}
15711571

15721572
//----------------------------------------
1573-
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-Now) to GNSS receiver
1573+
// If L-Band is available, but encrypted, allow RTCM through other sources (radio, ESP-NOW) to GNSS receiver
15741574
//----------------------------------------
15751575
void GNSS_UM980::rtcmOnGnssEnable()
15761576
{

0 commit comments

Comments
 (0)