mirror of https://github.com/rusefi/rusefi.git
encapsulation
--------- Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
parent
20714fd510
commit
e88e044ca4
|
@ -90,7 +90,7 @@ static const ADCConversionGroup adcConvGroupCh2 = { FALSE, 1, &completionCallbac
|
|||
};
|
||||
#endif // KNOCK_HAS_CH2
|
||||
|
||||
const ADCConversionGroup* getConversionGroup(uint8_t channelIdx) {
|
||||
static const ADCConversionGroup* getConversionGroup(uint8_t channelIdx) {
|
||||
#if KNOCK_HAS_CH2
|
||||
if (channelIdx == 1) {
|
||||
return &adcConvGroupCh2;
|
||||
|
@ -154,7 +154,7 @@ void initSoftwareKnock() {
|
|||
}
|
||||
}
|
||||
|
||||
void processLastKnockEvent() {
|
||||
static void processLastKnockEvent() {
|
||||
if (!knockNeedsProcess) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -5,4 +5,3 @@
|
|||
|
||||
void initSoftwareKnock();
|
||||
void knockSamplingCallback(uint8_t cylinderIndex, efitick_t nowNt);
|
||||
void processLastKnockEvent();
|
||||
|
|
Loading…
Reference in New Issue