Skip to content

Commit accb75e

Browse files
committed
ESP32H2
1 parent 39aab1b commit accb75e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AudioConfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,13 +402,13 @@ typedef uint32_t eps32_i2s_sample_rate_type;
402402

403403
#if defined(ESP32) && defined(CONFIG_IDF_TARGET_ESP32H2)
404404
#include "esp32-hal-log.h"
405-
# define ESP32H2
406-
# define USE_TDM
407405
#if ESP_IDF_VERSION > ESP_IDF_VERSION_VAL(5, 0 , 0)
408406
# define USE_INT24_FROM_INT
409407
# define USE_ANALOG
410408
#endif
411409

410+
#define ESP32H2
411+
#define USE_TDM
412412
#define USE_PWM
413413
#define USE_I2S
414414
#define USE_TYPETRAITS

0 commit comments

Comments
 (0)