mbed libraries for KL25Z

Dependents:   FRDM_RGBLED

Revision:
8:c14af7958ef5
Parent:
0:8024c367e29f
Child:
9:663789d7729f
--- a/can_helper.h	Tue Oct 23 09:20:18 2012 +0000
+++ b/can_helper.h	Fri Nov 09 11:33:53 2012 +0000
@@ -1,7 +1,6 @@
 /* mbed Microcontroller Library - can_helper
  * Copyright (c) 2009 ARM Limited. All rights reserved.
- */ 
-
+ */
 #ifndef MBED_CAN_HELPER_H
 #define MBED_CAN_HELPER_H
 
@@ -9,6 +8,8 @@
 extern "C" {
 #endif
 
+#if DEVICE_CAN
+
 enum CANFormat {
     CANStandard = 0,
     CANExtended = 1
@@ -30,6 +31,8 @@
 };
 typedef struct CAN_Message CAN_Message;
 
+#endif
+
 #ifdef __cplusplus
 };
 #endif