From dbaf2dbf6dced909f8941278cf85833053f6aa71 Mon Sep 17 00:00:00 2001 From: August Quint <49277349+AugustQu@users.noreply.github.com> Date: Tue, 21 Jan 2020 15:03:07 +0100 Subject: [PATCH] plus code for SDS011 --- src/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 5e761b0e..19e45152 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -328,6 +328,12 @@ void setup() { strcat_P(features, " SD"); #endif +#if (HAS_SDS011) +// ESP_LOGI(TAG, "init fine-dust-sensor"); + if ( sds011_init() ) + strcat_P(features, " SDS"); +#endif + #if (VENDORFILTER) strcat_P(features, " FILTER"); #endif