robot

Dependencies:   FastPWM3 mbed

Revision:
182:5ed20e4ce158
Parent:
181:d3510c8beab6
Child:
184:633119bb0b77
--- a/BREMS/BREMSConfig.cpp	Fri Feb 09 03:49:31 2018 +0000
+++ b/BREMS/BREMSConfig.cpp	Fri Feb 09 19:29:38 2018 +0000
@@ -111,7 +111,7 @@
     BREMSStartupMsg(read, io->pc);
 
     cmd_reload(io->pc, io->pref);
-    if (_PREFS_VALID == 0) {
+    if (_PREFS_VALID != 1) {
         io->pc->printf("%s\n", "Stored config invalid");
         cmd_defaults(io->pc);
         io->pc->printf("%s\n", "You should probably at least set throttle and current limits!");