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

More AVR removal

This commit is contained in:
Bertrand Songis 2018-08-05 12:39:05 +02:00
parent f3bfde242b
commit ea76998beb
67 changed files with 1321 additions and 1486 deletions

View file

@ -21,7 +21,7 @@
#include "opentx.h"
#if !defined(BOOT)
const pm_char s_charTab[] = "_-.,";
const char s_charTab[] = "_-.,";
char hex2zchar(uint8_t hex)
{
@ -37,7 +37,7 @@ char idx2char(int8_t idx)
}
if (idx < 27) return 'A' + idx - 1;
if (idx < 37) return '0' + idx - 27;
if (idx <= 40) return pgm_read_byte(s_charTab+idx-37);
if (idx <= 40) return *(s_charTab+idx-37);
#if LEN_SPECIAL_CHARS > 0
if (idx <= (LEN_STD_CHARS + LEN_SPECIAL_CHARS)) return 'z' + 5 + idx - 40;
#endif