Update AnalogCard.cpp
This commit is contained in:
parent
a9871315f2
commit
6ff586b27b
|
@ -133,7 +133,7 @@ uint16_t AnalogCard::analogRead(uint8_t pin)
|
||||||
*/
|
*/
|
||||||
bool AnalogCard::begin()
|
bool AnalogCard::begin()
|
||||||
{
|
{
|
||||||
bool success = false;
|
bool success = true;
|
||||||
if (!this->dac0.begin())
|
if (!this->dac0.begin())
|
||||||
{
|
{
|
||||||
ESP_LOGE("AnalogCard", "Card Analog ERROR: Failed to install DAC0");
|
ESP_LOGE("AnalogCard", "Card Analog ERROR: Failed to install DAC0");
|
||||||
|
|
Loading…
Reference in New Issue