From: ppisa Date: Wed, 1 Jun 2005 15:46:04 +0000 (+0000) Subject: The MAX_MSGOBJS limit increased to 32 due to requirements of C_CAN chip. X-Git-Tag: CLT_COMM_CAN-lincan-0_3_1~13 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/commitdiff_plain/1f3a7fe8c2fe4f78d207ed4414ce9d1d4da7beef?hp=ce93567bb929614d283a248bc8dbf4caec26e59b The MAX_MSGOBJS limit increased to 32 due to requirements of C_CAN chip. This wastes 68-124 bytes for other chips. Some better solution should be considered. --- diff --git a/lincan/include/constants.h b/lincan/include/constants.h index dc2bb40..2643d0d 100644 --- a/lincan/include/constants.h +++ b/lincan/include/constants.h @@ -35,7 +35,7 @@ #define MAX_TOT_CHIPS (MAX_HW_CHIPS*MAX_HW_CARDS) #define MAX_TOT_CHIPS_STR 32 /* must be explicit for MODULE_PARM */ #define MAX_IRQ 32 -#define MAX_MSGOBJS 15 +#define MAX_MSGOBJS 32 #define MAX_TOT_MSGOBJS (MAX_TOT_CHIPS*MAX_MSGOBJS) #define MAX_BUF_LENGTH 64 //#define MAX_BUF_LENGTH 4