plus code for SDS011

This commit is contained in:
August Quint 2020-01-21 15:03:07 +01:00 committed by GitHub
parent 04850fd5c7
commit dbaf2dbf6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -328,6 +328,12 @@ void setup() {
strcat_P(features, " SD"); strcat_P(features, " SD");
#endif #endif
#if (HAS_SDS011)
// ESP_LOGI(TAG, "init fine-dust-sensor");
if ( sds011_init() )
strcat_P(features, " SDS");
#endif
#if (VENDORFILTER) #if (VENDORFILTER)
strcat_P(features, " FILTER"); strcat_P(features, " FILTER");
#endif #endif