1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00

make code compatible with up-to-date build environment

These changes make it possible to compile open9x with old (avr-gcc 4.3.3, 
avr-libc 1.6.7) and up-to-date (avr-gcc 4.6.2, avr-libc 1.8.0) build
environments. See Issue 1 for more details.
This commit is contained in:
mihlit@mihlit.cz 2012-02-02 11:23:38 +00:00
parent 973b91cd3f
commit acd523e699
21 changed files with 418 additions and 400 deletions

View file

@ -4,10 +4,10 @@
#define STR2(s) #s
#define DEFNUMSTR(s) STR2(s)
const char APM stamp1[] = "VERS: V" VERS_STR;
const char APM stamp2[] = " SVN: " SVN_STR;
const char APM stamp3[] = "DATE: " DATE_STR;
const char APM stamp4[] = "TIME: " TIME_STR;
const char APM stamp5[] = " MOD: " MOD_STR;
const pm_char stamp1[] PROGMEM = "VERS: V" VERS_STR;
const pm_char stamp2[] PROGMEM = " SVN: " SVN_STR;
const pm_char stamp3[] PROGMEM = "DATE: " DATE_STR;
const pm_char stamp4[] PROGMEM = "TIME: " TIME_STR;
const pm_char stamp5[] PROGMEM = " MOD: " MOD_STR;