From 952a24b45d6cb215473eba8dffd24e1f6580cac5 Mon Sep 17 00:00:00 2001 From: Keith Spitz Date: Sun, 28 Jul 2019 19:40:18 -0600 Subject: [PATCH] Update util.cpp Correct "is_whitespace_or_nl": change 'r' to '\r'. --- Firmware/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/util.cpp b/Firmware/util.cpp index 05cbf994..f0912605 100644 --- a/Firmware/util.cpp +++ b/Firmware/util.cpp @@ -27,7 +27,7 @@ const char STR_REVISION_RC [] PROGMEM = "rc"; inline bool is_whitespace_or_nl(char c) { - return c == ' ' || c == '\t' || c == '\n' || c == 'r'; + return c == ' ' || c == '\t' || c == '\n' || c == '\r'; } inline bool is_whitespace_or_nl_or_eol(char c)