UI--checksum checking functions. Updated to set UI to previous UI on error.
Fork of UI by
Diff: UserInterface.cpp
- Revision:
- 5:f8d7d4505bad
- Parent:
- 4:48d23d12b3a3
- Child:
- 6:e9e132f21f1b
diff -r 48d23d12b3a3 -r f8d7d4505bad UserInterface.cpp --- a/UserInterface.cpp Thu Feb 26 00:10:08 2015 +0000 +++ b/UserInterface.cpp Thu Feb 26 18:28:33 2015 +0000 @@ -141,7 +141,7 @@ _dataCnt = 0; } else { //UI = _prev_UI; - return; + // return; } if (_buttonA == 0 && _buttonA_prev == 1) {//buton was just pressed