From 64d3cca3be3a23956b7cea55aed2c6513fe2ac72 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Wed, 27 Sep 2023 16:59:04 +0800 Subject: [PATCH] scd30: Fix build with esp32c6 Also make it sort with proper older for esp32c*. Signed-off-by: Axel Lin --- components/scd30/scd30.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/scd30/scd30.c b/components/scd30/scd30.c index c9efcfc0..ff0c8466 100644 --- a/components/scd30/scd30.c +++ b/components/scd30/scd30.c @@ -49,12 +49,14 @@ #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 -#elif CONFIG_IDF_TARGET_ESP32C2 -#include #endif #include #include "scd30.h"