- fix compile disabled KNOCK_SPECTROGRAM
This commit is contained in:
parent
b78a09cbde
commit
46e908da1e
|
@ -192,10 +192,12 @@ static void processLastKnockEvent() {
|
|||
return;
|
||||
}
|
||||
|
||||
#ifdef KNOCK_SPECTROGRAM
|
||||
{
|
||||
chibios_rt::CriticalSectionLocker csl;
|
||||
enableKnockSpectrogram = engineConfiguration->enableKnockSpectrogram;
|
||||
}
|
||||
#endif
|
||||
|
||||
float sumSq = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue