Merge pull request #524 from AugustQu/patch-11

plus code for SDS011
This commit is contained in:
Verkehrsrot 2020-01-21 21:27:18 +01:00 committed by GitHub
commit a7de2a51a4
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