Skip to content

Commit c2c7cc3

Browse files
committed
Print a newline properly.
1 parent 239352b commit c2c7cc3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libraries/ArduinoOTA/examples/BasicOTA/BasicOTA.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,11 @@ void setup() {
3030
Serial.println("Start");
3131
});
3232
ArduinoOTA.onEnd([]() {
33-
Serial.println("End");
33+
Serial.println("\nEnd");
3434
});
3535
ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) {
3636
Serial.printf("Progress: %u%%\r", (progress / (total / 100)));
3737
});
38-
Serial.println("")
3938
ArduinoOTA.onError([](ota_error_t error) {
4039
Serial.printf("Error[%u]: ", error);
4140
if (error == OTA_AUTH_ERROR) Serial.println("Auth Failed");

0 commit comments

Comments
 (0)