Refactor ProgMode

This commit is contained in:
Aoran Zeng
2025-07-11 10:43:16 +08:00
parent e953aceb54
commit 5f8da597ff
2 changed files with 58 additions and 38 deletions

View File

@@ -823,7 +823,7 @@ main (int argc, char const *argv[])
return Exit_Unknown;
}
ProgMode_CMD_Reset = true;
ProgMode.ResetMode = true;
target = argv[cli_arg_Target_pos];
matched = get_target (target, TargetOp_Reset_Source, NULL);
if (!matched) goto not_matched;