Skip to content

Commit ba7c20a

Browse files
authored
replaced \n\r with \r\n (easytarget#174)
* Fix rotate -90 degree bu Adding a style with flex-direction: column; and align-items: flex-start; does the job 😀 * replaced \n\r with \r\n \n\r gives strange results in other than Arduino serial monitors.
1 parent 36aee90 commit ba7c20a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

esp32-cam-webserver.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ void setup() {
679679
ArduinoOTA.setPassword(otaPassword);
680680
Serial.printf("OTA Password: %s\n\r", otaPassword);
681681
} else {
682-
Serial.printf("\n\rNo OTA password has been set! (insecure)\n\r\n\r");
682+
Serial.printf("\r\nNo OTA password has been set! (insecure)\r\n\r\n");
683683
}
684684
ArduinoOTA
685685
.onStart([]() {
@@ -692,7 +692,7 @@ void setup() {
692692
Serial.println("Start updating " + type);
693693
})
694694
.onEnd([]() {
695-
Serial.println("\nEnd");
695+
Serial.println("\r\nEnd");
696696
})
697697
.onProgress([](unsigned int progress, unsigned int total) {
698698
Serial.printf("Progress: %u%%\r", (progress / (total / 100)));

0 commit comments

Comments
 (0)