UI--checksum checking functions. Updated to set UI to previous UI on error.
Fork of UI by
Diff: UserInterface.cpp
- Revision:
- 4:48d23d12b3a3
- Parent:
- 3:19c08e8a552a
- Child:
- 5:f8d7d4505bad
--- a/UserInterface.cpp Wed Feb 25 22:00:04 2015 +0000 +++ b/UserInterface.cpp Thu Feb 26 00:10:08 2015 +0000 @@ -75,6 +75,7 @@ length += 1; } } + pc.printf("Length: %d\r\n", length); count[1] = (int) length + 3; count[2] = pos; } @@ -139,7 +140,7 @@ } _dataCnt = 0; } else { - UI = _prev_UI; + //UI = _prev_UI; return; }