Attempts to merge SPI_TFT2 & SPI_TFT_ILI9341

Dependencies:   SPI_TFTx2 TFT_fonts TOUCH_TFTx2 mbed

Fork of CANary by Tick Tock

Branch:
Metric
Revision:
116:5cd72bae7c12
Parent:
110:ffddff3ad2f2
Child:
117:49883c779a74
--- a/utility.h	Thu Jul 04 00:09:28 2013 +0000
+++ b/utility.h	Thu Jul 04 05:27:15 2013 +0000
@@ -16,6 +16,7 @@
 extern char displayLog[20][40];
 extern unsigned char displayLoc;
 extern bool touched;
+extern bool logEn;
 extern bool logOpen;
 extern bool logCP; // Turbo3
 extern bool yesBattLog ; // gg - Batt Log
@@ -27,15 +28,14 @@
 extern char indexLastMsg[0x800];
 extern unsigned char dMode[2];
 extern unsigned char msgChanged[100];
-
-//extern unsigned char battData[256]; // 
+extern FIL efile;
+extern unsigned int bytesRW;
 extern unsigned char battData[BatDataBufMax]; // BatDataBufMax
 
 extern CANMessage lastMsg[100];
 extern CAN can1,can2;
 extern unsigned int fwCount;
-extern DigitalOut can1SleepMode,can2SleepMode;
-//extern bool pollCP;
+extern DigitalOut can1SleepMode,can2SleepMode,swInt;
 extern bool tick;
 extern bool ZeroSecTick;
 extern bool headlights;
@@ -91,6 +91,7 @@
     void tripLog(); // Turbo3
     void updateFirmware(); // LM - Update firmware off USB
     bool detectUSB();
+    void dumpBuffer();
 }
 
 //LEAF OBD