Jon Trinder
/
gu_squirt_tester
Test code for interfacing to megasquirt ECU.
Revision 3:fa1485b77707, committed 2015-02-14
- 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