mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[PR #309] [MERGED] Consolidate serial output to \r\n #3251
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/OpenEPaperLink/OpenEPaperLink/pull/309
Author: @dm8tbr
Created: 5/4/2024
Status: ✅ Merged
Merged: 5/10/2024
Merged by: @jonasniesner
Base:
master← Head:serial-cleanup📝 Commits (2)
2576fe8Consolidate serial output to \r\ncb48bf1Merge branch 'jjwbruijn:master' into serial-cleanup📊 Changes
16 files changed (+145 additions, -145 deletions)
View changed files
📝
ESP32_AP-Flasher/include/util.h(+2 -2)📝
ESP32_AP-Flasher/src/ble_filter.cpp(+2 -2)📝
ESP32_AP-Flasher/src/contentmanager.cpp(+1 -1)📝
ESP32_AP-Flasher/src/flasher.cpp(+32 -32)📝
ESP32_AP-Flasher/src/ips_display.cpp(+1 -1)📝
ESP32_AP-Flasher/src/main.cpp(+2 -2)📝
ESP32_AP-Flasher/src/makeimage.cpp(+1 -1)📝
ESP32_AP-Flasher/src/newproto.cpp(+22 -22)📝
ESP32_AP-Flasher/src/serialap.cpp(+47 -47)📝
ESP32_AP-Flasher/src/storage.cpp(+1 -1)📝
ESP32_AP-Flasher/src/swd.cpp(+4 -4)📝
ESP32_AP-Flasher/src/tag_db.cpp(+1 -1)📝
ESP32_AP-Flasher/src/tagdata.cpp(+4 -4)📝
ESP32_AP-Flasher/src/usbflasher.cpp(+17 -17)📝
ESP32_AP-Flasher/src/web.cpp(+2 -2)📝
ESP32_AP-Flasher/src/webflasher.cpp(+6 -6)📄 Description
So far the serial output is a mix of \r\n for println() and \n for sprintf() and such.
This commit consolidates this to a consistent \r\n.
There should be no noticeable difference for users of terminals that auto-substitute a sole \n to \r\n.
This will however make the serial output friendly to default behavior of various terminal emulators like 'screen' and 'minicom'.
This commit doesn't touch anything that is not serial output and also leaves 'ets_printf' alone just in case.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.