mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
cppchecker fixes
This commit is contained in:
parent
50429c8476
commit
167cca5fc0
2 changed files with 11 additions and 7 deletions
|
@ -613,10 +613,12 @@ void switch_off(void) {
|
|||
if (g_dbglevel > 3) {
|
||||
Dbprintf("switch_off");
|
||||
}
|
||||
|
||||
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
||||
if (downloaded_bitstream == FPGA_BITSTREAM_HF || downloaded_bitstream == FPGA_BITSTREAM_HF_15) {
|
||||
FpgaDisableSscDma();
|
||||
}
|
||||
|
||||
set_tracing(false);
|
||||
LEDsoff();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue