Meter Reader without Local File System

Files at this revision

API Documentation at this revision

Comitter:
harrisjunaid
Date:
Mon May 07 23:50:04 2012 +0000
Parent:
0:5a3c139b6cc2
Commit message:

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon May 07 23:43:34 2012 +0000
+++ b/main.cpp	Mon May 07 23:50:04 2012 +0000
@@ -20,7 +20,7 @@
 //unsigned GasCounter = 1;//Increment at ev reset/////////.......DEBUG
 
 //Meter Reader Data Storage
-LocalFileSystem fs("fs");//mbed internal flash storage
+//LocalFileSystem fs("fs");//mbed internal flash storage
 //FILE *previous;// Pointer for previous_readings.txt (Gas consumption data not yet transmitted )
 //unsigned previous_consumption = 0;//Variable for storing previous consumption (unsigned => only positive value)
 
@@ -209,7 +209,7 @@
 Variable previous_consumption has global scope.
 ****************************************************************/
 
-unsigned CheckCounterFile() {// Checks For Previous Readings
+/**unsigned CheckCounterFile() {// Checks For Previous Readings
 
     FILE *counter;// Pointer for COUNTER.txt (Gas consumption data)
 
@@ -267,7 +267,7 @@
 
     }
 }
-
+*/
 /////////////////////////////////////////////////////////////////
 void MeterReader_On() {
     pc.printf("\nMeterReader_On called GasCounter = %u",GasCounter);//.............DEBUG