fix: tolower
This commit is contained in:
1 parent
a819d522c1
commit
cc81b5bed9
6 files changed
+18
-19
No files matched your search
+2
-3
@@ -476,14 +476,13 @@ int CmdHF15Demod(const char *Cmd) {
|
||||
// * Acquire Samples as Reader (enables carrier, sends inquiry)
|
||||
//helptext
|
||||
int CmdHF15Samples(const char *Cmd) {
|
||||
char cmdp = param_getchar(Cmd, 0);
|
||||
if (cmdp == 'h' || cmdp == 'H') return usage_15_samples();
|
||||
char cmdp = tolower(param_getchar(Cmd, 0));
|
||||
if (cmdp == 'h') return usage_15_samples();
|
||||
|
||||
UsbCommand c = {CMD_ACQUIRE_RAW_ADC_SAMPLES_ISO_15693, {0,0,0}};
|
||||
clearCommandBuffer();
|
||||
SendCommand(&c);
|
||||
|
||||
//download samples
|
||||
getSamples(0, false);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user