Skip to content

Commit 94e19f1

Browse files
committed
Fix typo
1 parent ae6472d commit 94e19f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Firmware/RTK_Surveyor/ESPNOW.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void espnowOnDataSent(const uint8_t *mac_addr, esp_now_send_status_t status)
3434
#endif
3535

3636
// Callback when data is received
37-
void espnowOnDataRecieved(const uint8_t *mac, const uint8_t *incomingData, int len)
37+
void espnowOnDataReceived(const uint8_t *mac, const uint8_t *incomingData, int len)
3838
{
3939
#ifdef COMPILE_ESPNOW
4040
if (espnowState == ESPNOW_PAIRING)
@@ -123,7 +123,7 @@ void espnowStart()
123123

124124
// Register callbacks
125125
//esp_now_register_send_cb(espnowOnDataSent);
126-
esp_now_register_recv_cb(espnowOnDataRecieved);
126+
esp_now_register_recv_cb(espnowOnDataReceived);
127127

128128
if (settings.espnowPeerCount == 0)
129129
{

Firmware/RTK_Surveyor/Form.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ void updateSettingWithValue(const char *settingName, const char* settingValueStr
591591
factoryReset();
592592
else if (strcmp(settingName, "exitAndReset") == 0)
593593
{
594-
if (newAPSettings == true) recordSystemSettings(); //If we've recieved settings, record before restart
594+
if (newAPSettings == true) recordSystemSettings(); //If we've received settings, record before restart
595595

596596
//Reboot the machine
597597
ESP.restart();

0 commit comments

Comments
 (0)