Fork to see if I can get working
Dependencies: BufferedSerial OneWire WinbondSPIFlash libxDot-dev-mbed5-deprecated
Fork of xDotBridge_update_test20180823 by
Revision 94:8028c07f71fa, committed 2017-11-22
- Comitter:
- mbriggs_vortex
- Date:
- Wed Nov 22 01:11:36 2017 +0000
- Parent:
- 93:f3adc409c54e
- Child:
- 95:aa9908d459c2
- Child:
- 96:e962c5000145
- Commit message:
- Working blink and working key check.
Changed in this revision
| xDotBridge/src/SerialTermMgr.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/xDotBridge/src/SerialTermMgr.cpp Tue Nov 21 17:43:56 2017 -0700
+++ b/xDotBridge/src/SerialTermMgr.cpp Wed Nov 22 01:11:36 2017 +0000
@@ -268,7 +268,7 @@
// Check for update string in last packet
bool foundKey;
- for (int packetIdx=3;packetIdx<sizeof(packetBuf)-sizeof(VORTEX_UPDATE_KEY)-1;packetIdx++) {
+ for (int packetIdx=3;packetIdx<sizeof(packetBuf)-sizeof(VORTEX_UPDATE_KEY);packetIdx++) {
foundKey = true;
for (int i=0;i<sizeof(VORTEX_UPDATE_KEY)-1;i++) {
if (packetBuf[packetIdx+i] != VORTEX_UPDATE_KEY[i]) {
