Эх сурвалжийг харах

Fix incorrect preprocessor check

Oxan van Leeuwen 3 жил өмнө
parent
commit
53a7260e01

+ 1 - 1
components/stream_server/stream_server.h

@@ -23,7 +23,7 @@
 #ifdef USE_BINARY_SENSOR
 #include "esphome/components/binary_sensor/binary_sensor.h"
 #endif
-#ifdef USE_BINARY_SENSOR
+#ifdef USE_SENSOR
 #include "esphome/components/sensor/sensor.h"
 #endif