1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-14 11:59:50 +03:00

Char conversion issue (how much time did it stay like this?)

This commit is contained in:
Bertrand Songis 2019-02-21 10:52:07 +01:00
parent e4fa31be28
commit 05db568e66

View file

@ -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;