Fixed ledcontrol in SimulateTagLowFrequencyEx

This commit is contained in:
Łukasz Jurczyk 2021-11-17 16:15:27 +01:00 committed by GitHub
parent 85fb51564f
commit 53611b5cad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -901,7 +901,7 @@ void SimulateTagLowFrequencyEx(int period, int gap, bool ledcontrol, int numcycl
OUT: OUT:
StopTicks(); StopTicks();
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF); FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
LED_D_OFF(); if (ledcontrol) LED_D_OFF();
} }
void SimulateTagLowFrequency(int period, int gap, bool ledcontrol) { void SimulateTagLowFrequency(int period, int gap, bool ledcontrol) {