mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-04 03:58:08 +08: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);
|
||||
errors = true;
|
||||
}
|
||||
config.block0 = ((config.block0 & ~(0x1f0000)) | (config.modulation << 12));
|
||||
config.block0 = ((config.block0 & ~(0x1f000)) | (config.modulation << 12));
|
||||
break;
|
||||
case 'i':
|
||||
if ((param_getchar(Cmd, cmdp + 1) == '0') || (param_getchar(Cmd, cmdp + 1) == '1')) {
|
||||
|
|
Loading…
Reference in a new issue