cppcheck fixes and other minor stuff

This commit is contained in:
iceman1001 2022-01-03 22:17:40 +01:00
commit 3491157345
7 changed files with 46 additions and 9 deletions

View file

@ -1369,10 +1369,12 @@ void SimulateHitag2(bool ledcontrol) {
// use malloc
initSampleBufferEx(&signal_size, true);
if (ledcontrol) LED_D_ON();
if (ledcontrol) {
LED_D_ON();
LED_A_OFF();
}
// lf_reset_counter();
if (ledcontrol) LED_A_OFF();
WDT_HIT();
/*