Skip to content

Commit 4e9e9f5

Browse files
committed
STM32F2 : correct compilation warnings
1 parent b6a8a50 commit 4e9e9f5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/stm32f2_eth_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ void HAL_ETH_MspDeInit(ETH_HandleTypeDef* heth)
8484
/* Disable the Ethernet global Interrupt */
8585
NVIC_DisableIRQ(ETH_IRQn);
8686
}
87-
}
87+
}

targets/TARGET_STM/TARGET_STM32F2/device/stm32f2xx_hal_mmc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ HAL_StatusTypeDef HAL_MMC_Erase(MMC_HandleTypeDef *hmmc, uint32_t BlockStartAdd,
13091309
hmmc->State = HAL_MMC_STATE_BUSY;
13101310

13111311
/* Check if the card command class supports erase command */
1312-
if((hmmc->MmcCard.Class) & SDIO_CCCC_ERASE == 0U)
1312+
if(((hmmc->MmcCard.Class) & SDIO_CCCC_ERASE) == 0U)
13131313
{
13141314
/* Clear all the static flags */
13151315
__HAL_MMC_CLEAR_FLAG(hmmc, SDIO_STATIC_FLAGS);

targets/TARGET_STM/TARGET_STM32F2/serial_device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ UART_HandleTypeDef uart_handlers[UART_NUM];
4040
static uart_irq_handler irq_handler;
4141

4242
// Defined in serial_api.c
43-
inline int8_t get_uart_index(UARTName uart_name);
43+
extern int8_t get_uart_index(UARTName uart_name);
4444

4545
/******************************************************************************
4646
* INTERRUPTS HANDLING

0 commit comments

Comments
 (0)