Skip to content

Commit

Permalink
replaced \n\r with \r\n (#174)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
ArminJo authored Dec 16, 2021
1 parent 36aee90 commit ba7c20a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esp32-cam-webserver.ino
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ void setup() {
ArduinoOTA.setPassword(otaPassword);
Serial.printf("OTA Password: %s\n\r", otaPassword);
} else {
Serial.printf("\n\rNo OTA password has been set! (insecure)\n\r\n\r");
Serial.printf("\r\nNo OTA password has been set! (insecure)\r\n\r\n");
}
ArduinoOTA
.onStart([]() {
Expand All @@ -692,7 +692,7 @@ void setup() {
Serial.println("Start updating " + type);
})
.onEnd([]() {
Serial.println("\nEnd");
Serial.println("\r\nEnd");
})
.onProgress([](unsigned int progress, unsigned int total) {
Serial.printf("Progress: %u%%\r", (progress / (total / 100)));
Expand Down

0 comments on commit ba7c20a

Please sign in to comment.