Skip to content

Commit

Permalink
move enable to running
Browse files Browse the repository at this point in the history
  • Loading branch information
ryescholin committed May 27, 2024
1 parent 6574448 commit 08a416c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pod-operation/src/state_machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@ impl StateMachine {

fn _enter_load(&mut self) {
info!("Entering Load state");
self.high_voltage_system.enable(); // Enable high voltage system -- may move later
self.brakes.disengage();
self.signal_light.disable();
}

fn _enter_running(&mut self) {
info!("Entering Running state");
self.high_voltage_system.enable(); // Enable high voltage system -- may move later
self.signal_light.enable();
self.brakes.disengage();
}
Expand Down

0 comments on commit 08a416c

Please sign in to comment.