diff --git a/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/AnalogCard.cpp b/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/AnalogCard.cpp index ce769b4..d210797 100644 --- a/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/AnalogCard.cpp +++ b/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/AnalogCard.cpp @@ -154,12 +154,12 @@ bool AnalogCard::begin() ESP_LOGE("AnalogCard", "Card Analog ERROR: Failed to install DAC3"); success = false; } - if (!this->analogInputBankA.begin()) + if (!this->analogInputBankA.begin(ANALOG_INPUT_BANK_A_ADDRESS)) { ESP_LOGE("AnalogCard", "Card Analog ERROR: Failed to install analog input bank A"); success = false; } - if (!this->analogInputBankB.begin()) + if (!this->analogInputBankB.begin(ANALOG_INPUT_BANK_B_ADDRESS)) { ESP_LOGE("AnalogCard", "Card Analog ERROR: Failed to install analog input bank B"); success = false;