Skip to content

Commit

Permalink
encapsulation
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Jan 10, 2024
1 parent 22b94be commit b7aa26f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/controllers/sensors/impl/software_knock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b7aa26f

Please sign in to comment.