Fix Recv Dfu cmd doesn't hard reset bug
This commit is contained in:
parent
7f6a385e1d
commit
b7231f48ff
|
@ -202,6 +202,7 @@ pub fn execute_cmd(buffer: &mut [u8], buffer_size: usize, socket: &mut SocketHan
|
|||
unsafe {
|
||||
dfu::set_dfu_trigger();
|
||||
}
|
||||
*state = State::HardReset;
|
||||
}
|
||||
Some(DeviceCmd::SetActiveReportMode) => {
|
||||
match cmd.json.data_bool{
|
||||
|
|
Loading…
Reference in New Issue