Skip to content

Commit

Permalink
fix Analog Read not working (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
elral authored Feb 24, 2025
1 parent e8eceb5 commit fb85dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ void InitArrays(uint8_t *numberDevices)
sendFailureMessage("LCD");
#endif
#if MF_ANALOG_SUPPORT == 1
if (!Analog::setupArray(numberDevices[kTypeAnalogInput]))
if (!Analog::setupArray(numberDevices[kTypeAnalogInput] + numberDevices[kTypeAnalogInputDeprecated]))
sendFailureMessage("AnalogIn");
#endif
#if MF_OUTPUT_SHIFTER_SUPPORT == 1
Expand Down

0 comments on commit fb85dfa

Please sign in to comment.