File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,7 +97,9 @@ impl Protocol {
9797
9898 // Special handling for reset and shutdown commands - they will cause connection loss
9999 if command == "reset" || command == "shutdown" {
100- return self . execute_board_power_command ( & full_command, command) . await ;
100+ return self
101+ . execute_board_power_command ( & full_command, command)
102+ . await ;
101103 }
102104
103105 let response = self . connection . send_command ( & full_command) . await ?;
@@ -121,8 +123,7 @@ impl Protocol {
121123 . to_string ( ) ,
122124 ) ,
123125 "shutdown" => Ok (
124- "Board shutdown sequence initiated. System will power off permanently."
125- . to_string ( ) ,
126+ "Board shutdown sequence initiated. System will power off permanently." . to_string ( ) ,
126127 ) ,
127128 _ => Ok ( format ! ( "Board {} command executed" , action) ) ,
128129 }
You can’t perform that action at this time.
0 commit comments