danpeig / ESP32EnergyMonitor

Multiple phase DIY energy consumption monitor using ESP32 and ESPHome
GNU Affero General Public License v3.0
146 stars 24 forks source link

Warning "ADC_BITS" #7

Closed wanball closed 1 year ago

wanball commented 1 year ago

I encountered this problem. I don't know if there is a solution or not. image

danpeig commented 1 year ago

This happens because I wanted to keep the original Emon library that was initially written for the ESP8266. The ADC resolution was updated just by declaring the constant again, thus the warning.

It will not affect the program execution.