UI--checksum checking functions. Updated to set UI to previous UI on error.

Fork of UI by Bradley Perry

Revision:
3:19c08e8a552a
Parent:
0:6b5a3a0138ad
--- a/UserInterface.h	Wed Feb 25 01:41:17 2015 +0000
+++ b/UserInterface.h	Wed Feb 25 22:00:04 2015 +0000
@@ -40,5 +40,6 @@
     int _dataCnt;
     float _time_sinceA;
     float _time_sinceB;
+    int _prev_UI;
 };
 #endif