post merge fixes + proper timeout calculation
tnow = static_cast<uint32_t>(millis()); if (tnow - time > timeout) { deals with buffer overflow and forces all to be uint32
Showing
- arduino/common/lib/CommsControl/CommsControl.cpp 8 additions, 8 deletionsarduino/common/lib/CommsControl/CommsControl.cpp
- arduino/common/lib/CommsControl/CommsControl.h 1 addition, 1 deletionarduino/common/lib/CommsControl/CommsControl.h
- arduino/hev_prototype_v1/src/BreathingLoop.cpp 40 additions, 31 deletionsarduino/hev_prototype_v1/src/BreathingLoop.cpp
- arduino/hev_prototype_v1/src/BreathingLoop.h 6 additions, 7 deletionsarduino/hev_prototype_v1/src/BreathingLoop.h
- arduino/hev_prototype_v1/src/common.cpp 1 addition, 1 deletionarduino/hev_prototype_v1/src/common.cpp
- arduino/hev_prototype_v1/src/common.h 2 additions, 2 deletionsarduino/hev_prototype_v1/src/common.h
- arduino/hev_prototype_v1/src/main.cpp 3 additions, 4 deletionsarduino/hev_prototype_v1/src/main.cpp
Please register or sign in to comment