mirror of https://github.com/ARMmbed/mbed-os.git
STM32F2 : correct compilation warnings
parent
b6a8a50a28
commit
4e9e9f5c62
|
@ -84,4 +84,4 @@ void HAL_ETH_MspDeInit(ETH_HandleTypeDef* heth)
|
|||
/* Disable the Ethernet global Interrupt */
|
||||
NVIC_DisableIRQ(ETH_IRQn);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1309,7 +1309,7 @@ HAL_StatusTypeDef HAL_MMC_Erase(MMC_HandleTypeDef *hmmc, uint32_t BlockStartAdd,
|
|||
hmmc->State = HAL_MMC_STATE_BUSY;
|
||||
|
||||
/* Check if the card command class supports erase command */
|
||||
if((hmmc->MmcCard.Class) & SDIO_CCCC_ERASE == 0U)
|
||||
if(((hmmc->MmcCard.Class) & SDIO_CCCC_ERASE) == 0U)
|
||||
{
|
||||
/* Clear all the static flags */
|
||||
__HAL_MMC_CLEAR_FLAG(hmmc, SDIO_STATIC_FLAGS);
|
||||
|
|
|
@ -40,7 +40,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