external muxes for internal ADC #3350

This commit is contained in:
rusefillc 2023-01-07 22:09:43 -05:00
parent b612c27917
commit 66866553e2
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ static AdcSubscriptionEntry* findEntry() {
/**
TODO: this code is similar to initIfValid, what is the plan? shall we extract helper method or else?
*/
brain_pin_e pin = getAdcChannelBrainPin(name, channel)
brain_pin_e pin = getAdcChannelBrainPin(name, channel);
if (pin != Gpio::Invalid) {
// todo: external muxes for internal ADC #3350
efiSetPadMode(name, pin, PAL_MODE_INPUT_ANALOG);