mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
fix: tolower
This commit is contained in:
parent
a819d522c1
commit
cc81b5bed9
6 changed files with 18 additions and 19 deletions
|
@ -1471,10 +1471,10 @@ int CmdResetRead(const char *Cmd) {
|
|||
int CmdT55xxWipe(const char *Cmd) {
|
||||
char writeData[20] = {0};
|
||||
char *ptrData = writeData;
|
||||
char cmdp = param_getchar(Cmd, 0);
|
||||
if ( cmdp == 'h' || cmdp == 'H') return usage_t55xx_wipe();
|
||||
char cmdp = tolower(param_getchar(Cmd, 0));
|
||||
if ( cmdp == 'h') return usage_t55xx_wipe();
|
||||
|
||||
bool Q5 = (cmdp == 'q' || cmdp == 'Q');
|
||||
bool Q5 = (cmdp == 'q');
|
||||
|
||||
// Try with the default password to reset block 0
|
||||
// With a pwd should work even if pwd bit not set
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue