From de9e2a50bc6af6f20945ac9d5921b5f0677112fd Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Wed, 9 Apr 2014 13:27:28 +0200 Subject: [PATCH] Update boot.cpp --- radio/src/bootloader/boot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/bootloader/boot.cpp b/radio/src/bootloader/boot.cpp index 0eabd0654..0446232b8 100644 --- a/radio/src/bootloader/boot.cpp +++ b/radio/src/bootloader/boot.cpp @@ -360,7 +360,7 @@ const char *getBinaryPath() FRESULT openBinaryFile(uint32_t index) { TCHAR filename[60]; - cpystr(cpystr(cpystr((uint8_t *)filename, (uint8_t *)getBinaryPath), (uint8_t *)"/"), (uint8_t *)Filenames[index]); + cpystr(cpystr(cpystr((uint8_t *)filename, (uint8_t *)getBinaryPath()), (uint8_t *)"/"), (uint8_t *)Filenames[index]); f_open(&FlashFile, filename, FA_READ); if (memoryType == MEM_FLASH) f_lseek(&FlashFile, BOOTLOADER_SIZE);