diff --git a/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/include/cmcng.h b/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/include/cmcng.h index d14c76b..65bf887 100644 --- a/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/include/cmcng.h +++ b/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/include/cmcng.h @@ -19,7 +19,7 @@ #define HARDWARE_VER_SUB 1 -#define BUFF_STACK_SIZE 512 //128 +#define BUFF_STACK_SIZE 64 #define MAX_UART_TXRX_LEN 32 @@ -91,15 +91,6 @@ extern Pkg_Uart g_pkg_uart_1; extern Pkg_Uart g_pkg_uart_2; -#define RX_BUFFER_LEN BUFF_STACK_SIZE - -typedef struct -{ - volatile uint8_t DMA_USE_BUFFER; - uint8_t Rx_Buffer[2][RX_BUFFER_LEN]; - -} USART_DMA_UNIT; - typedef struct _DBN_BLE_STATE_