Dual CANbus monitor and instrumentation cluster
Dependencies: SPI_TFTx2 TFT_fonts TOUCH_TFTx2 beep mbed
Fork of CANary by
Diff: utility.h
- Branch:
- Metric
- Revision:
- 117:49883c779a74
- Parent:
- 116:5cd72bae7c12
- Child:
- 118:02010b18efdc
diff -r 5cd72bae7c12 -r 49883c779a74 utility.h --- a/utility.h Thu Jul 04 05:27:15 2013 +0000 +++ b/utility.h Thu Jul 04 18:01:52 2013 +0000 @@ -16,7 +16,6 @@ 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 @@ -28,14 +27,15 @@ extern char indexLastMsg[0x800]; extern unsigned char dMode[2]; extern unsigned char msgChanged[100]; -extern FIL efile; -extern unsigned int bytesRW; + +//extern unsigned char battData[256]; // extern unsigned char battData[BatDataBufMax]; // BatDataBufMax extern CANMessage lastMsg[100]; extern CAN can1,can2; extern unsigned int fwCount; -extern DigitalOut can1SleepMode,can2SleepMode,swInt; +extern DigitalOut can1SleepMode,can2SleepMode; +//extern bool pollCP; extern bool tick; extern bool ZeroSecTick; extern bool headlights; @@ -91,7 +91,6 @@ void tripLog(); // Turbo3 void updateFirmware(); // LM - Update firmware off USB bool detectUSB(); - void dumpBuffer(); } //LEAF OBD