diff --git a/firmware/controllers/sensors/impl/software_knock.cpp b/firmware/controllers/sensors/impl/software_knock.cpp index 24c54874e1..42247a1010 100644 --- a/firmware/controllers/sensors/impl/software_knock.cpp +++ b/firmware/controllers/sensors/impl/software_knock.cpp @@ -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;