Fix analog bank B not being read
This commit is contained in:
parent
9344610582
commit
667823d598
|
@ -154,12 +154,12 @@ bool AnalogCard::begin()
|
||||||
ESP_LOGE("AnalogCard", "Card Analog ERROR: Failed to install DAC3");
|
ESP_LOGE("AnalogCard", "Card Analog ERROR: Failed to install DAC3");
|
||||||
success = false;
|
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");
|
ESP_LOGE("AnalogCard", "Card Analog ERROR: Failed to install analog input bank A");
|
||||||
success = false;
|
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");
|
ESP_LOGE("AnalogCard", "Card Analog ERROR: Failed to install analog input bank B");
|
||||||
success = false;
|
success = false;
|
||||||
|
|
Loading…
Reference in New Issue