There was an error while loading. Please reload this page.
1 parent 3b4c14d commit 2efe051Copy full SHA for 2efe051
1 file changed
control/src/main.rs
@@ -1043,9 +1043,9 @@ mod app {
1043
});
1044
1045
// // Battery is under voltaged so we should die
1046
- // if battery_voltage < MIN_BATTERY_VOLTAGE {
1047
- // kill_self::spawn().ok();
1048
- // }
+ if battery_voltage < MIN_BATTERY_VOLTAGE {
+ kill_self::spawn().ok();
+ }
1049
1050
// TODO: Display robot status on display
1051
}
0 commit comments