![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Test code for interfacing to megasquirt ECU.
Diff: main.cpp
- Revision:
- 3:fa1485b77707
- Parent:
- 2:57a6c415e495
- Child:
- 4:50203a03ccd2
--- 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