diff --git a/code/espurna/config/sensors.h b/code/espurna/config/sensors.h index 2fb124d6..9a925998 100644 --- a/code/espurna/config/sensors.h +++ b/code/espurna/config/sensors.h @@ -407,7 +407,7 @@ //------------------------------------------------------------------------------ #ifndef PZEM004T_SUPPORT -#define PZEM004T_SUPPORT 1 +#define PZEM004T_SUPPORT 0 #endif #ifndef PZEM004T_USE_SOFT @@ -678,6 +678,11 @@ PROGMEM const char* const magnitude_units[] = { #include "../sensors/PMSX003Sensor.h" #endif +#if PZEM004T_SUPPORT + #include + #include "../sensors/PZEM004TSensor.h" +#endif + #if SI7021_SUPPORT #include "../sensors/SI7021Sensor.h" #endif