From 8943d726b9bd0c187cfe69d62d08b3adbb216a84 Mon Sep 17 00:00:00 2001 From: elral <3263285+elral@users.noreply.github.com> Date: Mon, 24 Feb 2025 17:09:59 +0100 Subject: [PATCH] fix Analog Read not working --- src/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config.cpp b/src/Config.cpp index 4b36c96b..0c39a264 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -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