diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-01-04 10:26:22 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-01-04 10:26:22 +0000 |
commit | 77f68f1c5b8f39a9146f5bd644867dde10b24c14 (patch) | |
tree | c47f7999708d41650b3ba17a880f1984f7620c79 /demos/ARMCM4-STM32F407-DISCOVERY-G++ | |
parent | 66205faf65927f86cd1faa8d738e48551fff75e0 (diff) | |
download | ChibiOS-77f68f1c5b8f39a9146f5bd644867dde10b24c14.tar.gz ChibiOS-77f68f1c5b8f39a9146f5bd644867dde10b24c14.tar.bz2 ChibiOS-77f68f1c5b8f39a9146f5bd644867dde10b24c14.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5030 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM4-STM32F407-DISCOVERY-G++')
-rw-r--r-- | demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp b/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp index 2275d6702..426d2b336 100644 --- a/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp +++ b/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp @@ -151,7 +151,7 @@ static SequencerThread blinker2(LED4_sequence); static SequencerThread blinker3(LED5_sequence);
static SequencerThread blinker4(LED6_sequence);
-static FatFSWrapper fs(NULL);
+static FatFSWrapper fs;
/*
* Application entry point.
@@ -168,6 +168,9 @@ int main(void) { halInit();
System::init();
+ fs.mount();
+ fs.unmount();
+
/*
* Activates the serial driver 2 using the driver default configuration.
* PA2(TX) and PA3(RX) are routed to USART2.
|