cppchecker fixes

This commit is contained in:
iceman1001 2022-07-06 13:45:06 +02:00
commit 167cca5fc0
2 changed files with 11 additions and 7 deletions

View file

@ -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();
}