comparison packages/devs/can/arm/lpc2xxx/current/src/can_accfilt_lpc2xxx.c @ 3345:b06697684f0a

* src/can_accfilt_lpc2xxx.c, src/can_lpc2xxx.c: Fix a compile issue of the lpc2xxx driver that only occurs if support for extended 29-bit CAN identifiers is enabled and support for message filtering is disabled. [ Bugzilla 1001901 ] * includes/can_lpc2xxx_baudrates.h: Added baudrate table for CAN clock of 14.745600 MHz. [ Bugzilla 1001900 ]
author sergeig
date Wed, 11 Sep 2013 21:00:16 +0000
parents 74dbf4c3f2e1
children
comparison
equal deleted inserted replaced
3344:1053b0d2490c 3345:b06697684f0a
769 cyg_uint8 i = 0; // loop counter 769 cyg_uint8 i = 0; // loop counter
770 lsc_buf_t accfilt_entry; // std group entry 770 lsc_buf_t accfilt_entry; // std group entry
771 #ifdef CYGOPT_IO_CAN_STD_CAN_ID 771 #ifdef CYGOPT_IO_CAN_STD_CAN_ID
772 cyg_uint8 std_address = 0; // std group entry address 772 cyg_uint8 std_address = 0; // std group entry address
773 #ifdef CYGOPT_IO_CAN_EXT_CAN_ID 773 #ifdef CYGOPT_IO_CAN_EXT_CAN_ID
774 cyg_uint8 ext_address = lpc2xxx_global_can_info.init_cnt << 2; 774 cyg_uint8 ext_address = LPC2XXX_INIT_CNT << 2;
775 #endif 775 #endif
776 #else 776 #else
777 cyg_uint8 ext_address = 0; 777 cyg_uint8 ext_address = 0;
778 #endif 778 #endif
779 779