Explorar o código

Fix incorrect preprocessor check

Oxan van Leeuwen %!s(int64=3) %!d(string=hai) anos
pai
achega
53a7260e01
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      components/stream_server/stream_server.h

+ 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