Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Neyzoter committed Apr 24, 2019
1 parent 92afc71 commit e4e9bad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HARDWARE/QUEUE/queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) /*!< 队列最大容量>*/
/**
Expand Down

0 comments on commit e4e9bad

Please sign in to comment.