1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-13 13:01:55 +03:00

Add linebreak.

This commit is contained in:
Stavros Korokithakis
2015-12-01 05:27:06 +02:00
parent 1da7f91a08
commit 239352b7cf

View File

@ -35,6 +35,7 @@ void setup() {
ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) {
Serial.printf("Progress: %u%%\r", (progress / (total / 100)));
});
Serial.println("")
ArduinoOTA.onError([](ota_error_t error) {
Serial.printf("Error[%u]: ", error);
if (error == OTA_AUTH_ERROR) Serial.println("Auth Failed");