Test code for interfacing to megasquirt ECU.

Dependencies:   jtlcd mbed

Files at this revision

API Documentation at this revision

Comitter:
jont
Date:
Sat Feb 14 10:20:25 2015 +0000
Parent:
2:57a6c415e495
Child:
4:50203a03ccd2
Commit message:
marked comBuff and comBuff Index volatile :-)

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Feb 14 08:58:53 2015 +0000
+++ b/main.cpp	Sat Feb 14 10:20:25 2015 +0000
@@ -27,8 +27,8 @@
 
 void sioRXHandler(void);
 #define combuffsize  256  
-char comBuff[combuffsize];   /* space for commands yeh its small make bigger if you need to */
-int comBuffIndex;           /* buffer index       */
+volatile char comBuff[combuffsize];   /* space for commands yeh its small make bigger if you need to */
+volatile int comBuffIndex;           /* buffer index       */
 
 char lineBuffer[32]; //for saving data for the lcd display