Compilation fixes
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#define audio_h
|
||||
|
||||
#include <stddef.h>
|
||||
#include "FatFs/ff.h"
|
||||
#include "ff.h"
|
||||
|
||||
#define AUDIO_FILENAME_MAXLEN (42) //max length example: /SOUNDS/fr/123456789012/1234567890-off.wav
|
||||
#define AUDIO_QUEUE_LENGTH (20)
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
*/
|
||||
|
||||
#include "opentx.h"
|
||||
#include "FatFs/ff.h"
|
||||
#include "ff.h"
|
||||
|
||||
FIL g_oLogFile = {0};
|
||||
const pm_char * g_logError = NULL;
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "FatFs/diskio.h"
|
||||
#include "FatFs/ff.h"
|
||||
#include "diskio.h"
|
||||
#include "ff.h"
|
||||
|
||||
#define LIST_NONE_SD_FILE 1
|
||||
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@
|
||||
#ifndef _SDCARD_H_
|
||||
#define _SDCARD_H_
|
||||
|
||||
#include "FatFs/ff.h"
|
||||
#include "ff.h"
|
||||
|
||||
#define ROOT_PATH "/"
|
||||
#define MODELS_PATH ROOT_PATH "MODELS" // no trailing slash = important
|
||||
|
||||
@@ -644,7 +644,7 @@ namespace simu {
|
||||
#include <libgen.h>
|
||||
#endif
|
||||
}
|
||||
#include "FatFs/ff.h"
|
||||
#include "ff.h"
|
||||
|
||||
#if defined WIN32 || !defined __GNUC__
|
||||
#include <direct.h>
|
||||
|
||||
@@ -28,6 +28,7 @@ BINX = $(CP) -O binary
|
||||
OBJDIR = .
|
||||
|
||||
THIRDPARTY = ../../../thirdparty
|
||||
FATFSDIR = $(THIRDPARTY)/FatFs
|
||||
|
||||
ifeq ($(PCBREV), REV9E)
|
||||
MCU = cortex-m4
|
||||
@@ -81,7 +82,7 @@ endif
|
||||
# PCB revision
|
||||
PCBREV =
|
||||
|
||||
EXTRAINCDIRS = $(THIRDPARTY)
|
||||
EXTRAINCDIRS = $(THIRDPARTY) $(FATFSDIR) $(FATFSDIR)/option
|
||||
|
||||
STM32USBPATH = ../../../thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries
|
||||
|
||||
|
||||
Reference in New Issue
Block a user