mirror of
https://github.com/RfidResearchGroup/ChameleonUltra.git
synced 2026-05-12 11:22:59 -07:00
Fix hf mfu e(r|w)cnt commands switching device into reader mode.
This commit is contained in:
@@ -1671,7 +1671,7 @@ class HFMFEConfig(SlotIndexArgsAndGoUnit, HF14AAntiCollArgsUnit, DeviceRequiredU
|
||||
|
||||
|
||||
@hf_mfu.command('ercnt')
|
||||
class HFMFUVERSION(ReaderRequiredUnit):
|
||||
class HFMFUVERSION(DeviceRequiredUnit):
|
||||
def args_parser(self) -> ArgumentParserNoExit:
|
||||
parser = ArgumentParserNoExit()
|
||||
parser.description = 'Read MIFARE Ultralight / NTAG counter value.'
|
||||
@@ -1688,7 +1688,7 @@ class HFMFUVERSION(ReaderRequiredUnit):
|
||||
|
||||
|
||||
@hf_mfu.command('ewcnt')
|
||||
class HFMFUVERSION(ReaderRequiredUnit):
|
||||
class HFMFUVERSION(DeviceRequiredUnit):
|
||||
def args_parser(self) -> ArgumentParserNoExit:
|
||||
parser = ArgumentParserNoExit()
|
||||
parser.description = 'Read MIFARE Ultralight / NTAG counter value.'
|
||||
|
||||
Reference in New Issue
Block a user