From 84bf2aa0bfccf50cba481c62e8142a39e3ef3ac7 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Thu, 21 Feb 2019 18:26:59 +0100 Subject: [PATCH] Again --- radio/src/strhelpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/strhelpers.cpp b/radio/src/strhelpers.cpp index 7ddb1ce8b..e0e047376 100644 --- a/radio/src/strhelpers.cpp +++ b/radio/src/strhelpers.cpp @@ -52,7 +52,7 @@ int8_t char2zchar(char c) #endif if (c >= 'a') return 'a' - c - 1; if (c >= 'A') return c - 'A' + 1; - if (c >= '0') return -(c - '0' + 27); + if (c >= '0') return c - '0' + 27; if (c == '-') return 38; if (c == '.') return 39; if (c == ',') return 40;