mirror of https://github.com/rusefi/rusefi.git
only:knock docs
This commit is contained in:
parent
b2d7c89edb
commit
d638c609cd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue