mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
fixed incorrect bitmask on modulation
This commit is contained in:
parent
dcf7e52b01
commit
00cff49f9d
1 changed files with 1 additions and 1 deletions
|
@ -790,7 +790,7 @@ static int CmdT55xxSetConfig(const char *Cmd) {
|
||||||
PrintAndLogEx(WARNING, "Unknown modulation '%s'", modulation);
|
PrintAndLogEx(WARNING, "Unknown modulation '%s'", modulation);
|
||||||
errors = true;
|
errors = true;
|
||||||
}
|
}
|
||||||
config.block0 = ((config.block0 & ~(0x1f0000)) | (config.modulation << 12));
|
config.block0 = ((config.block0 & ~(0x1f000)) | (config.modulation << 12));
|
||||||
break;
|
break;
|
||||||
case 'i':
|
case 'i':
|
||||||
if ((param_getchar(Cmd, cmdp + 1) == '0') || (param_getchar(Cmd, cmdp + 1) == '1')) {
|
if ((param_getchar(Cmd, cmdp + 1) == '0') || (param_getchar(Cmd, cmdp + 1) == '1')) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue