mirror of https://github.com/ARMmbed/mbed-os.git
STM32F4 : correct compilation warnings
parent
a540a21106
commit
2fcf8d8990
|
@ -78,4 +78,4 @@ void HAL_ETH_MspDeInit(ETH_HandleTypeDef* heth)
|
|||
/* Disable the Ethernet global Interrupt */
|
||||
NVIC_DisableIRQ(ETH_IRQn);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -156,4 +156,4 @@ uint8_t mbed_otp_mac_address(char *mac)
|
|||
memcpy(mac, _macAddr, 6);
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -84,4 +84,4 @@ void HAL_ETH_MspDeInit(ETH_HandleTypeDef* heth)
|
|||
/* Disable the Ethernet global Interrupt */
|
||||
NVIC_DisableIRQ(ETH_IRQn);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -84,4 +84,4 @@ void HAL_ETH_MspDeInit(ETH_HandleTypeDef* heth)
|
|||
/* Disable the Ethernet global Interrupt */
|
||||
NVIC_DisableIRQ(ETH_IRQn);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -136,7 +136,7 @@
|
|||
#error 'The HAL CAN driver cannot be used with its legacy, Please ensure to enable only one HAL CAN module at once in stm32f4xx_hal_conf.h file'
|
||||
#endif /* HAL_CAN_MODULE_ENABLED */
|
||||
|
||||
#warning 'Legacy HAL CAN driver is enabled! It can be used with known limitations, refer to the release notes. However it is recommended to use rather the new HAL CAN driver'
|
||||
// #warning 'Legacy HAL CAN driver is enabled! It can be used with known limitations, refer to the release notes. However it is recommended to use rather the new HAL CAN driver'
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
/* Private define ------------------------------------------------------------*/
|
||||
|
|
|
@ -50,7 +50,7 @@ UART_HandleTypeDef uart_handlers[UART_NUM];
|
|||
static uart_irq_handler irq_handler;
|
||||
|
||||
// Defined in serial_api.c
|
||||
inline int8_t get_uart_index(UARTName uart_name);
|
||||
extern int8_t get_uart_index(UARTName uart_name);
|
||||
|
||||
/******************************************************************************
|
||||
* INTERRUPTS HANDLING
|
||||
|
|
Loading…
Reference in New Issue