Enable ESP32 energy driver

This commit is contained in:
Theo Arends 2023-01-28 11:03:14 +01:00
parent 4dd97a9e82
commit e77154f406
2 changed files with 3 additions and 3 deletions

View File

@ -17,11 +17,11 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
//#ifdef ESP8266
#ifdef ESP8266
#ifdef USE_ENERGY_SENSOR
#define USE_ENERGY_SENSOR_LEGACY
#endif // USE_ENERGY_SENSOR
//#endif // ESP8266
#endif // ESP8266
#ifdef USE_ENERGY_SENSOR_LEGACY
/*********************************************************************************************\

View File

@ -19,7 +19,7 @@
#ifdef ESP32
#ifdef USE_ENERGY_SENSOR
//#define USE_ENERGY_SENSOR_ESP32
#define USE_ENERGY_SENSOR_ESP32
#endif // USE_ENERGY_SENSOR
#endif // ESP32