From e4e9bad2e4c3b824ffda8b004437c717442d81ce Mon Sep 17 00:00:00 2001 From: Neyzoter Date: Wed, 24 Apr 2019 21:04:43 +0800 Subject: [PATCH] update --- HARDWARE/QUEUE/queue.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HARDWARE/QUEUE/queue.h b/HARDWARE/QUEUE/queue.h index ad498f9..977702c 100644 --- a/HARDWARE/QUEUE/queue.h +++ b/HARDWARE/QUEUE/queue.h @@ -30,8 +30,8 @@ * @note 队列存储ADC和CAN数据,数据长度以ADC长度设置 * @{ */ -#define ADC_SEND_SIZE (8*40 + PACKAGE_HEAD_FRAME_LENGTH) /*!< ADC数据包最大大小 540 = 8 * 60 + PACKAGE_HEAD_FRAME_LENGTH>*/ -#define CAN_SEND_SIZE (25 * 10 + PACKAGE_HEAD_FRAME_LENGTH) /*!< CAN数据包最大大小 540 = 8 * 60 + PACKAGE_HEAD_FRAME_LENGTH>*/ +#define ADC_SEND_SIZE (8*50 + PACKAGE_HEAD_FRAME_LENGTH) /*!< ADC数据包最大大小 540 = 8 * 60 + PACKAGE_HEAD_FRAME_LENGTH>*/ +#define CAN_SEND_SIZE (25 * 16 + PACKAGE_HEAD_FRAME_LENGTH) /*!< CAN数据包最大大小 540 = 8 * 60 + PACKAGE_HEAD_FRAME_LENGTH>*/ #define QUEUE_SIZE 700 /*!< 队列正常容量,必须比ADC_SEND_SIZE大一些,不然会在被后面的信息覆盖>*/ #define ARR_SIZE (QUEUE_SIZE + ADC_SEND_SIZE+52) /*!< 队列最大容量>*/ /**