Skip to content

Commit

Permalink
scd30: Fix build with esp32c6
Browse files Browse the repository at this point in the history
Also make it sort with proper older for esp32c*.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
  • Loading branch information
AxelLin committed Sep 27, 2023
1 parent 15c4da6 commit 64d3cca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/scd30/scd30.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,14 @@
#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>
#elif CONFIG_IDF_TARGET_ESP32C2
#include <esp32c2/rom/ets_sys.h>
#endif
#include <esp_idf_lib_helpers.h>
#include "scd30.h"
Expand Down

0 comments on commit 64d3cca

Please sign in to comment.