From a868d7e5d11819ae975697cfc6c49938368644ab Mon Sep 17 00:00:00 2001 From: Terrence Date: Sat, 11 Jan 2025 01:53:18 +0800 Subject: [PATCH] fix esp box3 headers --- main/boards/esp-box-3/config.h | 4 ++-- main/boards/esp-box-3/esp_box3_board.cc | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/main/boards/esp-box-3/config.h b/main/boards/esp-box-3/config.h index 14bddbd3..c88e3475 100644 --- a/main/boards/esp-box-3/config.h +++ b/main/boards/esp-box-3/config.h @@ -3,8 +3,8 @@ #include -#define AUDIO_INPUT_SAMPLE_RATE 16000 -#define AUDIO_OUTPUT_SAMPLE_RATE 16000 +#define AUDIO_INPUT_SAMPLE_RATE 24000 +#define AUDIO_OUTPUT_SAMPLE_RATE 24000 #define AUDIO_DEFAULT_OUTPUT_VOLUME 80 #define AUDIO_INPUT_REFERENCE true diff --git a/main/boards/esp-box-3/esp_box3_board.cc b/main/boards/esp-box-3/esp_box3_board.cc index a7dc585b..0ce20dd2 100644 --- a/main/boards/esp-box-3/esp_box3_board.cc +++ b/main/boards/esp-box-3/esp_box3_board.cc @@ -12,6 +12,7 @@ #include #include #include +#include #define TAG "EspBox3Board"