diff --git a/bsp/Infineon/libraries/IFX_PSOC6_HAL/mtb-hal-cat1/source/cyhal_pdmpcm.c b/bsp/Infineon/libraries/IFX_PSOC6_HAL/mtb-hal-cat1/source/cyhal_pdmpcm.c index 581c22f5fe..aebec4e503 100644 --- a/bsp/Infineon/libraries/IFX_PSOC6_HAL/mtb-hal-cat1/source/cyhal_pdmpcm.c +++ b/bsp/Infineon/libraries/IFX_PSOC6_HAL/mtb-hal-cat1/source/cyhal_pdmpcm.c @@ -1091,12 +1091,13 @@ static void _cyhal_pdm_pcm_arrays_init( void ) static cy_rslt_t _cyhal_pdm_pcm_init_hw(cyhal_pdm_pcm_t *obj, int paired_channel, cyhal_pdm_pcm_t* existing_obj, #if defined(CY_IP_MXAUDIOSS_INSTANCES) - const cy_stc_pdm_pcm_config_t* pdl_struct) + const cy_stc_pdm_pcm_config_t* pdl_struct #elif defined(CY_IP_MXTDM_INSTANCES) const cy_stc_pdm_pcm_config_v2_t* pdl_struct, const cy_stc_pdm_pcm_channel_config_t* pdl_chan_struct, - const cy_stc_pdm_pcm_channel_config_t* pdl_chan_struct_paired) -#endif + const cy_stc_pdm_pcm_channel_config_t* pdl_chan_struct_paired +#endif +) { cy_rslt_t result = CY_RSLT_SUCCESS; obj->base = _cyhal_pdm_pcm_base[obj->resource.block_num]; diff --git a/bsp/essemi/es32f0654/drivers/drv_spi.c b/bsp/essemi/es32f0654/drivers/drv_spi.c index 170a8b7374..9faa151ffd 100644 --- a/bsp/essemi/es32f0654/drivers/drv_spi.c +++ b/bsp/essemi/es32f0654/drivers/drv_spi.c @@ -351,7 +351,7 @@ int rt_hw_spi_init(void) return result; } - result = es32f0_spi_device_attach((ES_SPI1_NSS_PIN, ES_DEVICE_NAME_SPI1_BUS, ES_DEVICE_NAME_SPI1_DEV0); + result = es32f0_spi_device_attach(ES_SPI1_NSS_PIN, ES_DEVICE_NAME_SPI1_BUS, ES_DEVICE_NAME_SPI1_DEV0); if (result != RT_EOK) { return result;