Skip to content

Commit

Permalink
fix: replace include platform ets_sys.h to esp_idf_lib
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleRus committed Sep 27, 2023
1 parent ad65073 commit 626eac5
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions components/scd30/scd30.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,7 @@
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include <esp_log.h>
#if CONFIG_IDF_TARGET_ESP32
#include <esp32/rom/ets_sys.h>
#elif CONFIG_IDF_TARGET_ESP32S2
#include <esp32s2/rom/ets_sys.h>
#elif CONFIG_IDF_TARGET_ESP32S3
#include <esp32s3/rom/ets_sys.h>
#elif CONFIG_IDF_TARGET_ESP32C2
#include <esp32c2/rom/ets_sys.h>
#elif CONFIG_IDF_TARGET_ESP32C3
#include <esp32c3/rom/ets_sys.h>
#elif CONFIG_IDF_TARGET_ESP32C6
#include <esp32c6/rom/ets_sys.h>
#elif CONFIG_IDF_TARGET_ESP32H2
#include <esp32h2/rom/ets_sys.h>
#endif
#include <ets_sys.h>
#include <esp_idf_lib_helpers.h>
#include "scd30.h"

Expand Down

0 comments on commit 626eac5

Please sign in to comment.