mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
tag unused Cmd [-Wunused-parameter]
This commit is contained in:
parent
c10e47f8a9
commit
cc0454d5d2
48 changed files with 132 additions and 27 deletions
|
@ -325,6 +325,7 @@ int CmdDetectReader(const char *Cmd) {
|
|||
|
||||
// ## FPGA Control
|
||||
int CmdFPGAOff(const char *Cmd) {
|
||||
(void)Cmd; // Cmd is not used so far
|
||||
UsbCommand c = {CMD_FPGA_MAJOR_MODE_OFF};
|
||||
clearCommandBuffer();
|
||||
SendCommand(&c);
|
||||
|
@ -361,6 +362,7 @@ int CmdReadmem(const char *Cmd) {
|
|||
}
|
||||
|
||||
int CmdReset(const char *Cmd) {
|
||||
(void)Cmd; // Cmd is not used so far
|
||||
UsbCommand c = {CMD_HARDWARE_RESET};
|
||||
clearCommandBuffer();
|
||||
SendCommand(&c);
|
||||
|
@ -451,6 +453,7 @@ int CmdVersion(const char *Cmd) {
|
|||
}
|
||||
|
||||
int CmdStatus(const char *Cmd) {
|
||||
(void)Cmd; // Cmd is not used so far
|
||||
clearCommandBuffer();
|
||||
UsbCommand c = {CMD_STATUS};
|
||||
SendCommand(&c);
|
||||
|
@ -460,6 +463,7 @@ int CmdStatus(const char *Cmd) {
|
|||
}
|
||||
|
||||
int CmdPing(const char *Cmd) {
|
||||
(void)Cmd; // Cmd is not used so far
|
||||
clearCommandBuffer();
|
||||
UsbCommand resp;
|
||||
UsbCommand c = {CMD_PING};
|
||||
|
@ -497,6 +501,7 @@ int CmdHW(const char *Cmd) {
|
|||
}
|
||||
|
||||
int CmdHelp(const char *Cmd) {
|
||||
(void)Cmd; // Cmd is not used so far
|
||||
CmdsHelp(CommandTable);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue