]> rtime.felk.cvut.cz Git - lincan.git/commitdiff
The MAX_MSGOBJS limit increased to 32 due to requirements of C_CAN chip.
authorppisa <ppisa>
Wed, 1 Jun 2005 15:46:04 +0000 (15:46 +0000)
committerppisa <ppisa>
Wed, 1 Jun 2005 15:46:04 +0000 (15:46 +0000)
This wastes 68-124 bytes for other chips. Some better solution should be
considered.

lincan/include/constants.h

index dc2bb40b15d8f838ab0ab814c19fd2c03e3d07bf..2643d0d84180cc16173c6b07a7a77d08bffabb6a 100644 (file)
@@ -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