Cosmetics on the bootloader

This commit is contained in:
bsongis
2014-03-15 15:36:02 +01:00
parent 7738aa27bd
commit 1c3ced7222
6 changed files with 282 additions and 318 deletions
+3
View File
@@ -47,6 +47,7 @@
#define SYSTEM_SUBDIR "SYSTEM" // no trailing slash = important
#define BITMAPS_PATH ROOT_PATH "BMP"
#define SCRIPTS_PATH ROOT_PATH "SCRIPTS"
#define FIRMWARES_PATH ROOT_PATH "FIRMWARES"
#define MODELS_EXT ".bin"
#define LOGS_EXT ".csv"
@@ -62,6 +63,7 @@ extern const pm_char * openLogs();
extern void closeLogs();
extern void writeLogs();
#if !defined(BOOT)
inline const pm_char *SDCARD_ERROR(FRESULT result)
{
if (result == FR_NOT_READY)
@@ -69,6 +71,7 @@ inline const pm_char *SDCARD_ERROR(FRESULT result)
else
return STR_SDCARD_ERROR;
}
#endif
#if defined(PCBTARANIS)
#define O9X_FOURCC 0x3378396F // o9x for Taranis