Modified for BG96

Fork of mbed-dev by mbed official

Revision:
174:b96e65c34a4d
Parent:
171:89b338f31ef1
Child:
177:d650f5d4c87a
--- 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"