mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC408X/can_api.c
- Revision:
- 16:7da2369b400c
- Parent:
- 15:4892fe388435
- Child:
- 17:151ab7482c89
diff -r 4892fe388435 -r 7da2369b400c targets/hal/TARGET_NXP/TARGET_LPC408X/can_api.c --- a/targets/hal/TARGET_NXP/TARGET_LPC408X/can_api.c Wed Aug 07 16:43:59 2013 +0300 +++ b/targets/hal/TARGET_NXP/TARGET_LPC408X/can_api.c Wed Aug 07 16:33:54 2013 +0000 @@ -21,6 +21,8 @@ #include "pinmap.h" #include "error.h" +#if DEVICE_CAN + /* Acceptance filter mode in AFMR register */ #define ACCF_OFF 0x01 #define ACCF_BYPASS 0x02 @@ -280,3 +282,5 @@ can_enable(obj); } } + +#endif