cmdfpga: clear error msg

This commit is contained in:
Philippe Teuwen committed 2026-08-19 12:04:33 +02:00
1 parent 40ec760a92
commit 420e36968b
1 file changed
+5
+5
View File
@@ -71,6 +71,11 @@ static int CmdConfigFpga(const char *Cmd) {
free(data);
return PM3_ETIMEOUT;
}
if (resp.status == PM3_ENOTIMPL) {
PrintAndLogEx(ERR, "Feature not implemented");
free(data);
return resp.status;
}
if (resp.status != PM3_SUCCESS) {
PrintAndLogEx(ERR, "Failed to start FPGA configuration: %d", resp.status);
free(data);