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)