[bsp/renesas] update drv_sci_spi.c 修复 ci 报错 (#8261)

This commit is contained in:
kk 2023-11-16 14:46:43 +08:00 committed by GitHub
parent 0e82e13cc3
commit 1b59c20203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -270,7 +270,7 @@ static rt_err_t ra_hw_spi_configure(struct rt_spi_device *device,
#ifdef R_SCI_B_SPI_H
R_SCI_B_SPI_CalculateBitrate(spi_dev->rt_spi_cfg_t->max_hz, SCI_B_SPI_SOURCE_CLOCK_PCLK, &spi_cfg.clk_div);
#else
R_SCI_SPI_CalculateBitrate(spi_dev->rt_spi_cfg_t->max_hz, &spi_cfg.clk_div, false);
R_SCI_SPI_CalculateBitrate(spi_dev->rt_spi_cfg_t->max_hz, &spi_cfg->clk_div, false);
#endif
/**< init */