mirror of https://github.com/arendst/Tasmota.git
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/>.
|
||||
*/
|
||||
|
||||
//#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
|
||||
/*********************************************************************************************\
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue