mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
lf config s update
This commit is contained in:
parent
40b1d3bea7
commit
f5d7963780
2 changed files with 6 additions and 7 deletions
|
@ -441,7 +441,7 @@ int CmdLFSetConfig(const char *Cmd) {
|
|||
cmdp += 2;
|
||||
break;
|
||||
case 's':
|
||||
samples_to_skip = param_get32ex(Cmd,cmdp+1,0,10);
|
||||
samples_to_skip = param_get32ex(Cmd, cmdp + 1, 0, 10);
|
||||
cmdp+=2;
|
||||
break;
|
||||
default:
|
||||
|
@ -457,7 +457,7 @@ int CmdLFSetConfig(const char *Cmd) {
|
|||
//Bps is limited to 8
|
||||
if (bps >> 4) bps = 8;
|
||||
|
||||
sample_config config = { decimation, bps, averaging, divisor, trigger_threshold,samples_to_skip };
|
||||
sample_config config = { decimation, bps, averaging, divisor, trigger_threshold, samples_to_skip };
|
||||
|
||||
clearCommandBuffer();
|
||||
SendCommandNG(CMD_LF_SAMPLING_SET_CONFIG, (uint8_t *)&config, sizeof(sample_config));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue