mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 13:46:37 +00:00
Enable ESP32 energy driver
This commit is contained in:
parent
4dd97a9e82
commit
e77154f406
@ -17,11 +17,11 @@
|
|||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#ifdef ESP8266
|
#ifdef ESP8266
|
||||||
#ifdef USE_ENERGY_SENSOR
|
#ifdef USE_ENERGY_SENSOR
|
||||||
#define USE_ENERGY_SENSOR_LEGACY
|
#define USE_ENERGY_SENSOR_LEGACY
|
||||||
#endif // USE_ENERGY_SENSOR
|
#endif // USE_ENERGY_SENSOR
|
||||||
//#endif // ESP8266
|
#endif // ESP8266
|
||||||
|
|
||||||
#ifdef USE_ENERGY_SENSOR_LEGACY
|
#ifdef USE_ENERGY_SENSOR_LEGACY
|
||||||
/*********************************************************************************************\
|
/*********************************************************************************************\
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#ifdef ESP32
|
#ifdef ESP32
|
||||||
#ifdef USE_ENERGY_SENSOR
|
#ifdef USE_ENERGY_SENSOR
|
||||||
//#define USE_ENERGY_SENSOR_ESP32
|
#define USE_ENERGY_SENSOR_ESP32
|
||||||
#endif // USE_ENERGY_SENSOR
|
#endif // USE_ENERGY_SENSOR
|
||||||
#endif // ESP32
|
#endif // ESP32
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user