diff --git a/radio/src/CMakeLists.txt b/radio/src/CMakeLists.txt index 06368660c..500783a48 100644 --- a/radio/src/CMakeLists.txt +++ b/radio/src/CMakeLists.txt @@ -73,7 +73,7 @@ set(GVARS_VARIANT 1) set(FRSKY_VARIANT 2) set(3POS_VARIANT 4) -set(RADIO_DEPENDENCIES firmware_translations) +set(RADIO_DEPENDENCIES radio_translations) set(FATFS_SRC ${FATFS_DIR}/ff.c diff --git a/radio/src/pulses/pulses.h b/radio/src/pulses/pulses.h index e6920e9e4..6e7f0c8b6 100644 --- a/radio/src/pulses/pulses.h +++ b/radio/src/pulses/pulses.h @@ -148,7 +148,7 @@ class BindInformation { class OtaUpdateInformation: public BindInformation { public: - char filename[_MAX_LFN + 1]; + char filename[FF_MAX_LFN + 1]; uint32_t address; }; diff --git a/radio/src/targets/common/arm/stm32/bootloader/CMakeLists.txt b/radio/src/targets/common/arm/stm32/bootloader/CMakeLists.txt index 140dfe6da..1edf7fc4d 100644 --- a/radio/src/targets/common/arm/stm32/bootloader/CMakeLists.txt +++ b/radio/src/targets/common/arm/stm32/bootloader/CMakeLists.txt @@ -54,7 +54,7 @@ endif() set(BOOTLOADER_SRC ${BOOTLOADER_SRC} ../../../../../gui/${GUI_DIR}/lcd.cpp -# ../../../../../gui/common/stdlcd/fonts.cpp + ../../../../../gui/common/stdlcd/fonts.cpp ../../../../../keys.cpp ../../../../../strhelpers.cpp ../../../../../stamp.cpp diff --git a/radio/src/thirdparty/FatFs/ffconf.h b/radio/src/thirdparty/FatFs/ffconf.h index caab6a822..fda61e9ed 100644 --- a/radio/src/thirdparty/FatFs/ffconf.h +++ b/radio/src/thirdparty/FatFs/ffconf.h @@ -61,7 +61,7 @@ /* This option switches f_expand function. (0:Disable or 1:Enable) */ -#define FF_USE_CHMOD 0 +#define FF_USE_CHMOD 1 /* This option switches attribute manipulation functions, f_chmod() and f_utime(). / (0:Disable or 1:Enable) Also FF_FS_READONLY needs to be 0 to enable this option. */