Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
VoidNoi committed May 4, 2024
1 parent 5db87d7 commit 3aae477
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions BadCard.ino
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ void getLang() {
String line;
while (langFile.available()) {
char c = langFile.read();
Serial.println(c);

if ((int)c != 0x0d) {
line += c;
}
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 3aae477

Please sign in to comment.