![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Fork to see if I can get working
Dependencies: BufferedSerial OneWire WinbondSPIFlash libxDot-dev-mbed5-deprecated
Fork of xDotBridge_update_test20180823 by
Diff: xDotBridge/src/SerialTermMgr.cpp
- Revision:
- 94:8028c07f71fa
- Parent:
- 93:f3adc409c54e
- Child:
- 98:3609f600c2f5
--- 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]) {