only:knock docs

This commit is contained in:
rusefillc 2024-02-06 14:55:22 -05:00
parent b2d7c89edb
commit d638c609cd
1 changed files with 3 additions and 2 deletions

View File

@ -154,6 +154,7 @@ void initSoftwareKnock() {
knockFilter.configureBandpass(KNOCK_SAMPLE_RATE, 1000 * engineConfiguration->knockBandCustom, 3);
adcStart(&KNOCK_ADC, nullptr);
// fun fact: we do not offer any ADC channel flexibility like we have for many other kinds of inputs
efiSetPadMode("knock ch1", KNOCK_PIN_CH1, PAL_MODE_INPUT_ANALOG);
#if KNOCK_HAS_CH2
efiSetPadMode("knock ch2", KNOCK_PIN_CH2, PAL_MODE_INPUT_ANALOG);