encapsulation

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
rusefillc 2024-01-14 17:28:22 -05:00 committed by rusefillc
parent 20714fd510
commit e88e044ca4
2 changed files with 2 additions and 3 deletions

View File

@ -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;
}

View File

@ -5,4 +5,3 @@
void initSoftwareKnock();
void knockSamplingCallback(uint8_t cylinderIndex, efitick_t nowNt);
void processLastKnockEvent();