Corrected header file include guards (did not encapsulate entire header).
Fork of LocalFileSystem_Read by
Diff: localRead.cpp
- Revision:
- 2:67fab81637b1
- Parent:
- 1:a5555eb914bb
diff -r a5555eb914bb -r 67fab81637b1 localRead.cpp --- a/localRead.cpp Tue Jun 30 05:04:36 2015 +0000 +++ b/localRead.cpp Wed Jul 01 00:01:33 2015 +0000 @@ -11,9 +11,6 @@ //MAYBE PUT THIS IN INIT LocalFileSystem local("local"); // Create the local filesystem under the name "local" -//float leftOff; - - void ReadFile (void) { @@ -35,11 +32,9 @@ void localRead() { //char A[10]; - myled=1; + //myled=1; __disable_irq(); // Disable Interrupts - wait(1); ReadFile();// when you run first time without this line, the setup file is on created - wait(1); pc.printf("Calibration settings loaded. \r\nLeft Offset is: %f, Right Offset is: %f\r\n", LeftCalib, RightCalib); //pc.printf("%f\n roffset", roff); __enable_irq(); // Disable Interrupts