test

Fork of CANnucleo by Zoltan Hudak

Revision:
19:249e3f065956
Parent:
18:a11422cf8e0a
Child:
21:bcd8161f8f6c
--- a/stm32f0xx_hal_msp.c	Tue Mar 08 08:47:57 2016 +0000
+++ b/stm32f0xx_hal_msp.c	Sat Mar 19 21:16:10 2016 +0000
@@ -145,8 +145,8 @@
     else
         return;
     /* NVIC configuration for CAN1 Reception complete interrupt */
-    HAL_NVIC_SetPriority(CEC_CAN_IRQn, 1, 0);
-    HAL_NVIC_EnableIRQ(CEC_CAN_IRQn);
+    HAL_NVIC_SetPriority(CAN_IRQ, 1, 0);
+    HAL_NVIC_EnableIRQ(CAN_IRQ);
 }
 
 /**
@@ -183,7 +183,7 @@
 
 
     /* Disable the NVIC for CAN reception */
-    HAL_NVIC_DisableIRQ(CEC_CAN_IRQn);
+    HAL_NVIC_DisableIRQ(CAN_IRQ);
 }
 
 /**