mbed library sources(for async_print)
Fork of mbed-src by
Revision 16:7da2369b400c, committed 2013-08-07
- Comitter:
- emilmont
- Date:
- Wed Aug 07 16:33:54 2013 +0000
- Parent:
- 15:4892fe388435
- Child:
- 17:151ab7482c89
- Commit message:
- Disable CAN because it does not implement the new CAN HAL
Changed in this revision
--- 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
--- a/targets/hal/TARGET_NXP/TARGET_LPC408X/device.h Wed Aug 07 16:43:59 2013 +0300 +++ b/targets/hal/TARGET_NXP/TARGET_LPC408X/device.h Wed Aug 07 16:33:54 2013 +0000 @@ -33,7 +33,7 @@ #define DEVICE_SPI 1 #define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 1 +#define DEVICE_CAN 0 #define DEVICE_RTC 1