From 3aae4774e78124c8c7aa3479f124d628bdb345ca Mon Sep 17 00:00:00 2001 From: VoidNoi Date: Sat, 4 May 2024 17:42:36 +0200 Subject: [PATCH] minor change --- BadCard.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BadCard.ino b/BadCard.ino index 992b368..9cbaf0a 100644 --- a/BadCard.ino +++ b/BadCard.ino @@ -698,7 +698,7 @@ void getLang() { String line; while (langFile.available()) { char c = langFile.read(); - Serial.println(c); + if ((int)c != 0x0d) { line += c; } @@ -728,7 +728,6 @@ void setup() { while (false == SD.begin(M5.getPin(m5::pin_name_t::sd_spi_ss), SPI)) { delay(1); } - Serial.begin(9600); if (!SD.exists(root)) { SD.mkdir(root); }