mbed
Fork of mbed-dev by
Diff: targets/TARGET_Maxim/TARGET_MAX32630/serial_api.c
- Revision:
- 165:e614a9f1c9e2
- Parent:
- 157:ff67d9f36b67
- Child:
- 171:19eb464bc2be
--- a/targets/TARGET_Maxim/TARGET_MAX32630/serial_api.c Wed May 10 12:06:41 2017 +0100 +++ b/targets/TARGET_Maxim/TARGET_MAX32630/serial_api.c Fri May 26 12:39:01 2017 +0100 @@ -202,19 +202,19 @@ { switch (obj->index) { case 0: - NVIC_SetVector(UART0_IRQn, uart0_handler); + NVIC_SetVector(UART0_IRQn, (uint32_t)uart0_handler); NVIC_EnableIRQ(UART0_IRQn); break; case 1: - NVIC_SetVector(UART1_IRQn, uart1_handler); + NVIC_SetVector(UART1_IRQn, (uint32_t)uart1_handler); NVIC_EnableIRQ(UART1_IRQn); break; case 2: - NVIC_SetVector(UART2_IRQn, uart2_handler); + NVIC_SetVector(UART2_IRQn, (uint32_t)uart2_handler); NVIC_EnableIRQ(UART2_IRQn); break; case 3: - NVIC_SetVector(UART3_IRQn, uart3_handler); + NVIC_SetVector(UART3_IRQn, (uint32_t)uart3_handler); NVIC_EnableIRQ(UART3_IRQn); break; default: