diff options
Diffstat (limited to 'board/discovery-stm32f072/board.c')
-rw-r--r-- | board/discovery-stm32f072/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/discovery-stm32f072/board.c b/board/discovery-stm32f072/board.c index 7a16208498..2cc98da410 100644 --- a/board/discovery-stm32f072/board.c +++ b/board/discovery-stm32f072/board.c @@ -160,7 +160,7 @@ const unsigned int spi_devices_used = ARRAY_SIZE(spi_devices); void usb_spi_board_enable(struct usb_spi_config const *config) { /* Remap SPI2 to DMA channels 6 and 7 */ - STM32_SYSCFG_CFGR1 |= (1 << 24); + STM32_SYSCFG_CFGR1 |= BIT(24); /* Configure SPI GPIOs */ gpio_config_module(MODULE_SPI_FLASH, 1); |