Skip to content

Commit 7e2ef5f

Browse files
committed
Allow unlocking even if rocket is not ready
1 parent 4b8feb5 commit 7e2ef5f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

controlSystem/RecoveryBoard/firmware-rs/src/bin/parachute.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,13 +271,13 @@ async fn main(spawner: Spawner) {
271271
}
272272
}
273273
ChuteCmd::U { force, pulse } => {
274-
if state.ready {
274+
if !state.shore_power_on {
275275
if async_cmd_sender.try_send(AsyncCmd::U { force, pulse }).is_err() {
276276
error!("unable to send unlock commmand to async handler");
277277
};
278278
} else {
279279
let _ =
280-
uwrite!(cli.writer(), "unable to unlock ring - not ready");
280+
uwrite!(cli.writer(), "unable to unlock ring - shore power is on");
281281
}
282282
}
283283
ChuteCmd::Pos => {

0 commit comments

Comments
 (0)