diff --git a/tasmota/tasmota_xdrv_driver/xdrv_03_energy.ino b/tasmota/tasmota_xdrv_driver/xdrv_03_energy.ino index 8da08b594..2059b51dc 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_03_energy.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_03_energy.ino @@ -17,11 +17,11 @@ along with this program. If not, see . */ -//#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 /*********************************************************************************************\ diff --git a/tasmota/tasmota_xdrv_driver/xdrv_03_esp32_energy.ino b/tasmota/tasmota_xdrv_driver/xdrv_03_esp32_energy.ino index 6c22e1fda..18098fb01 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_03_esp32_energy.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_03_esp32_energy.ino @@ -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