replaced \n\r with \r\n (#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.
This commit is contained in:
Armin 2021-12-16 16:14:30 +01:00 committed by GitHub
parent 36aee90352
commit ba7c20a2b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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([]() {
@ -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)));