diff options
Diffstat (limited to 'demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp')
-rw-r--r-- | demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp b/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp index d56a3f4c3..2275d6702 100644 --- a/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp +++ b/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp @@ -19,11 +19,13 @@ */
#include "ch.hpp"
-#include "fs.hpp"
#include "hal.h"
+#include "fs.hpp"
+#include "fatfs_fsimpl.hpp"
#include "test.h"
using namespace chibios_rt;
+using namespace chibios_fatfs;
/*
* LED blink sequences.
@@ -149,6 +151,8 @@ static SequencerThread blinker2(LED4_sequence); static SequencerThread blinker3(LED5_sequence);
static SequencerThread blinker4(LED6_sequence);
+static FatFSWrapper fs(NULL);
+
/*
* Application entry point.
*/
|