Przeglądaj źródła

Fix incorrect preprocessor check

Oxan van Leeuwen 3 lat temu
rodzic
commit
53a7260e01
1 zmienionych plików z 1 dodań i 1 usunięć
  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