t

Fork of mbed-dev by mbed official

Revision:
175:b96e65c34a4d
Parent:
172:89b338f31ef1
Child:
178:d650f5d4c87a
diff -r e131a1973e81 -r b96e65c34a4d targets/TARGET_STM/TARGET_STM32F2/objects.h
--- a/targets/TARGET_STM/TARGET_STM32F2/objects.h	Fri Sep 15 14:59:18 2017 +0100
+++ b/targets/TARGET_STM/TARGET_STM32F2/objects.h	Mon Oct 02 15:33:19 2017 +0100
@@ -136,10 +136,13 @@
     uint8_t inverted;
 };
 
+#ifdef DEVICE_CAN
 struct can_s {
-    CANName can;
+    CAN_HandleTypeDef CanHandle;
     int index;
+    int hz;
 };
+#endif
 
 #define GPIO_IP_WITHOUT_BRR
 #include "gpio_object.h"