Skip to content

Commit dc3da6d

Browse files
moment-NEWRbb666
authored andcommitted
style: format code with clang-format [skip ci]
1 parent ca73422 commit dc3da6d

2 files changed

Lines changed: 34 additions & 46 deletions

File tree

‎bsp/stm32/libraries/HAL_Drivers/drivers/drv_dma.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
*/
3434
static const char *stm32_dma_type_name(const struct stm32_dma_config *dma_config)
3535
{
36-
return (dma_config->common.type == STM32_DMA_TYPE_GPDMA) ? "gpdma" :
37-
(dma_config->common.type == STM32_DMA_TYPE_BDMA) ? "bdma" : "dma";
36+
return (dma_config->common.type == STM32_DMA_TYPE_GPDMA) ? "gpdma" : (dma_config->common.type == STM32_DMA_TYPE_BDMA) ? "bdma"
37+
: "dma";
3838
}
3939

4040
#if defined(STM32_DMA_USES_REQUEST)

0 commit comments

Comments
 (0)