From 626eac5e326265e44a4076280bee023c4ae4ccbe Mon Sep 17 00:00:00 2001 From: UncleRus Date: Wed, 27 Sep 2023 17:04:38 +0500 Subject: [PATCH] fix: replace include platform ets_sys.h to esp_idf_lib --- components/scd30/scd30.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/components/scd30/scd30.c b/components/scd30/scd30.c index ff0c8466..916d25ae 100644 --- a/components/scd30/scd30.c +++ b/components/scd30/scd30.c @@ -43,21 +43,7 @@ #include #include #include -#if CONFIG_IDF_TARGET_ESP32 -#include -#elif CONFIG_IDF_TARGET_ESP32S2 -#include -#elif CONFIG_IDF_TARGET_ESP32S3 -#include -#elif CONFIG_IDF_TARGET_ESP32C2 -#include -#elif CONFIG_IDF_TARGET_ESP32C3 -#include -#elif CONFIG_IDF_TARGET_ESP32C6 -#include -#elif CONFIG_IDF_TARGET_ESP32H2 -#include -#endif +#include #include #include "scd30.h"