From 7534dda3b69026df6dc40b3d907b825a0078617b Mon Sep 17 00:00:00 2001 From: chenlh <2008get@163.com> Date: 星期四, 21 八月 2025 20:14:01 +0800 Subject: [PATCH] Signed-off-by: chenlh <2008get@163.com> --- inc/config.h | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/inc/config.h b/inc/config.h index 490d6bd..aae15e0 100644 --- a/inc/config.h +++ b/inc/config.h @@ -1,13 +1,18 @@ -#ifndef CORE_CONFIG_H_ -#define CORE_CONFIG_H_ +//#ifndef CORE_CONFIG_H_ +//#define CORE_CONFIG_H_ + +//#pragma once + +#include "../drv/board.h" //全局宏定义. #define MP_OFFSET 0x28000000 #define SPI_BUFFER_SIZE (1024) -#define SAMPLE_RATE 48000 +//#define SAMPLE_RATE 48000 //process block sample size. -extern unsigned int SAMPLE_NUM; +//extern unsigned int SAMPLE_RATE; +//extern unsigned int SAMPLE_NUM; //f2f.c use physical input & output #define PHY_INPUT_NUM 64 @@ -15,6 +20,8 @@ #define LEVEL_REPORT_TIME(x) \ (x*SAMPLE_RATE/(1000*SAMPLE_NUM)) -#endif + + +//#endif -- Gitblit v1.9.3