From accb75e95a11bf7313776c741db9a938b86e5246 Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Wed, 4 Dec 2024 08:57:41 +0100 Subject: [PATCH] ESP32H2 --- src/AudioConfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AudioConfig.h b/src/AudioConfig.h index 82014e3c9..961aca17c 100644 --- a/src/AudioConfig.h +++ b/src/AudioConfig.h @@ -402,13 +402,13 @@ typedef uint32_t eps32_i2s_sample_rate_type; #if defined(ESP32) && defined(CONFIG_IDF_TARGET_ESP32H2) #include "esp32-hal-log.h" -# define ESP32H2 -# define USE_TDM #if ESP_IDF_VERSION > ESP_IDF_VERSION_VAL(5, 0 , 0) # define USE_INT24_FROM_INT # define USE_ANALOG #endif +#define ESP32H2 +#define USE_TDM #define USE_PWM #define USE_I2S #define USE_TYPETRAITS