[bsp/renesas] update drv_sci_spi.c 修复 ci 报错 (#8261)
This commit is contained in:
parent
0e82e13cc3
commit
1b59c20203
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user