guard pm5 commands with capabilities

This commit is contained in:
Philippe Teuwen
2026-08-19 12:04:33 +02:00
parent d2a8cca233
commit 7c436d2d58
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ static command_t CommandTable[] = {
{"help", CmdHelp, AlwaysAvailable, "This help"},
{"-------------", CmdHelp, AlwaysAvailable, "----------------------- " _CYAN_("Operation") " -----------------------"},
{"config", CmdConfigFpga, IfPm3Present, "Configure FPGA for sram or flash"},
{"pwrpwm", CmdFpgaSetPowerPWM, IfPm3Present, "Adjust the input voltage of the driver through FPGA."},
{"pwrpwm", CmdFpgaSetPowerPWM, IfPm5, "Adjust the input voltage of the driver through FPGA."},
{NULL, NULL, NULL, NULL}
};
+3 -3
View File
@@ -1926,9 +1926,9 @@ static command_t CommandTable[] = {
{"dbg", CmdDbg, IfPm3Present, "Set device side debug level"},
{"fpga", CmdFPGA, IfPm3Present, "Fpga commands"},
{"fpgaoff", CmdFPGAOff, IfPm3Present, "Turn off FPGA on device"},
{"ant_pm5", CmdPM5Ant, IfPm3Present, "Control the antennal of pm5"},
{"qc_pm5", CmdPM5QCTest, IfPm3Present, "Perform QC test for the PM5"},
{"factorydata", CmdDeviceFactoryData,IfPm3Present, "Get/Set the factory data for Device"},
{"ant_pm5", CmdPM5Ant, IfPm5StdAnt, "Control the antennal of pm5"},
{"qc_pm5", CmdPM5QCTest, IfPm5, "Perform QC test for the PM5"},
{"factorydata", CmdDeviceFactoryData, IfI2cEeprom, "Get/Set the factory data for Device"},
{"lcd", CmdLCD, IfPm3Lcd, "Send command/data to LCD"},
{"lcdreset", CmdLCDReset, IfPm3Lcd, "Hardware reset LCD"},
{"ping", CmdPing, IfPm3Present, "Test if the Proxmark3 is responsive"},