mirror of
https://github.com/opentx/opentx.git
synced 2025-07-14 20:10:08 +03:00
pointer and ":" fix
This commit is contained in:
parent
0a45a71ea0
commit
9744eb966c
2 changed files with 4 additions and 4 deletions
|
@ -4884,9 +4884,9 @@ void stack_paint()
|
||||||
p = (unsigned char *) STACKPTR ;
|
p = (unsigned char *) STACKPTR ;
|
||||||
q = &__bss_end ;
|
q = &__bss_end ;
|
||||||
p -= 2 ;
|
p -= 2 ;
|
||||||
while ( p > q )
|
while ( p > q ) {
|
||||||
*p = 0x55 ;
|
*p-- = 0x55 ;
|
||||||
p--;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t stack_free()
|
uint16_t stack_free()
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
#define DEFNUMSTR(s) STR2(s)
|
#define DEFNUMSTR(s) STR2(s)
|
||||||
|
|
||||||
#if defined(PCBSTD)
|
#if defined(PCBSTD)
|
||||||
const pm_char vers_stamp[] PROGMEM = "VERS\037\045" VERS_STR "\036DATE\037\045" DATE_STR"\036TIME\037\045" TIME_STR "\036EEPR\037\045" DEFNUMSTR(EEPROM_VER) "-" DEFNUMSTR(EEPROM_VARIANT);
|
const pm_char vers_stamp[] PROGMEM = "VERS\037\033: " VERS_STR "\036DATE\037\033: " DATE_STR"\036TIME\037\033: " TIME_STR "\036EEPR\037\033: " DEFNUMSTR(EEPROM_VER) "-" DEFNUMSTR(EEPROM_VARIANT);
|
||||||
#else
|
#else
|
||||||
const pm_char vers_stamp[] PROGMEM = "VERS\037\033: " VERS_STR "\036DATE\037\033: " DATE_STR"\036TIME\037\033: " TIME_STR "\036EEPR\037\033: " DEFNUMSTR(EEPROM_VER);
|
const pm_char vers_stamp[] PROGMEM = "VERS\037\033: " VERS_STR "\036DATE\037\033: " DATE_STR"\036TIME\037\033: " TIME_STR "\036EEPR\037\033: " DEFNUMSTR(EEPROM_VER);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue