Browse Source

Fix incorrect preprocessor check

Oxan van Leeuwen 3 năm trước cách đây
mục cha
commit
53a7260e01
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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