File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -266,11 +266,11 @@ void ArduinoOTAClass::_runUpdate() {
266266 delay (1 );
267267 if (!waited){
268268#if OTA_DEBUG
269- Serial.printf (" Recieve Failed\n " );
269+ Serial.printf (" Receive Failed\n " );
270270#endif
271271 _udp_ota->listen (*IP_ADDR_ANY, _port);
272272 if (_error_callback) {
273- _error_callback (OTA_RECIEVE_ERROR );
273+ _error_callback (OTA_RECEIVE_ERROR );
274274 }
275275 _state = OTA_IDLE;
276276 }
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ typedef enum {
2020 OTA_AUTH_ERROR,
2121 OTA_BEGIN_ERROR,
2222 OTA_CONNECT_ERROR,
23- OTA_RECIEVE_ERROR ,
23+ OTA_RECEIVE_ERROR ,
2424 OTA_END_ERROR
2525} ota_error_t ;
2626
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ void setup() {
4040 if (error == OTA_AUTH_ERROR) Serial.println (" Auth Failed" );
4141 else if (error == OTA_BEGIN_ERROR) Serial.println (" Begin Failed" );
4242 else if (error == OTA_CONNECT_ERROR) Serial.println (" Connect Failed" );
43- else if (error == OTA_RECIEVE_ERROR ) Serial.println (" Receive Failed" );
43+ else if (error == OTA_RECEIVE_ERROR ) Serial.println (" Receive Failed" );
4444 else if (error == OTA_END_ERROR) Serial.println (" End Failed" );
4545 });
4646 ArduinoOTA.begin ();
You can’t perform that action at this time.
0 commit comments