1
0
mirror of synced 2024-11-23 23:50:56 +01:00

难绷少加了个break

This commit is contained in:
nerichan 2024-10-28 14:38:17 +08:00
parent e0b4fb3575
commit 124b048029

View File

@ -103,7 +103,9 @@ void loop() {
case CMD_CARD_SELECT: case CMD_CARD_SELECT:
case CMD_CARD_HALT: case CMD_CARD_HALT:
case CMD_EXT_TO_NORMAL_MODE: case CMD_EXT_TO_NORMAL_MODE:
case CMD_TO_UPDATER_MODE:
res_init(); res_init();
break;
case CMD_FIRMWARE_UPDATE: case CMD_FIRMWARE_UPDATE:
res_init(); res_init();
res.status = STATUS_FIRM_UPDATE_SUCCESS; res.status = STATUS_FIRM_UPDATE_SUCCESS;