1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 00:05:17 +03:00

Bad indentaton and reduced buffer size

This commit is contained in:
Damjan Adamic 2014-06-19 06:53:53 +02:00
parent 1e917da05e
commit fd9f3ad8be
2 changed files with 2 additions and 2 deletions

View file

@ -1513,7 +1513,7 @@ union ReusableBuffer
uint16_t eepromfree; uint16_t eepromfree;
#if defined(SDCARD) #if defined(SDCARD)
char menu_bss[MENU_MAX_LINES][MENU_LINE_LENGTH]; char menu_bss[MENU_MAX_LINES][MENU_LINE_LENGTH];
char mainname[sizeof(menu_bss)]; // because reused for SD backup / restore char mainname[45]; // because reused for SD backup / restore, max backup filename 44 chars: "/MODELS/MODEL0134353-2014-06-19-04-51-27.bin"
#else #else
char mainname[LEN_MODEL_NAME]; char mainname[LEN_MODEL_NAME];
#endif #endif

View file

@ -40,7 +40,7 @@
#include <stdarg.h> #include <stdarg.h>
#include <sys/stat.h> #include <sys/stat.h>
#if defined(RTCLOCK) #if defined(RTCLOCK)
#include <time.h> #include <time.h>
#endif #endif
#if defined WIN32 || !defined __GNUC__ #if defined WIN32 || !defined __GNUC__