1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-15 04:15:26 +03:00

Constructors called on static objects - I really need them now :)

This commit is contained in:
bsongis 2014-09-20 13:01:50 +02:00
parent 80eb34cea2
commit 8032d6ee66
2 changed files with 10 additions and 1 deletions

View file

@ -36,8 +36,14 @@
#include "opentx.h"
#if !defined(BOOT)
const pm_char s_charTab[] PROGMEM = "_-.,";
char hex2zchar(uint8_t hex)
{
return (hex >= 10 ? hex-9 : 27+hex);
}
char idx2char(int8_t idx)
{
if (idx == 0) return ' ';
@ -142,6 +148,7 @@ char * strcat_zchar(char * dest, char * name, uint8_t size, const char *defaultN
return &dest[len];
}
#endif
#endif
#if defined(CPUARM) || defined(SDCARD)
char * strAppend(char * dest, const char * source)