1
0
mirror of https://gitee.com/openLuat/LuatOS synced 2025-08-17 22:18:03 +08:00

fix: airlink,前一个还没修完,继续修

This commit is contained in:
Wendal Chen 2025-07-21 13:18:41 +08:00
parent 1d42c928b9
commit 67261a10ee

View File

@ -219,7 +219,7 @@ __USER_FUNC_IN_RAM__ static void start_spi_trans(void) {
}
// luat_spi_slave_transfer(SLAVE_SPI_ID, (const char *)s_txbuff, (char *)s_rxbuff, TEST_BUFF_SIZE);
luat_spi_slave_transfer(SLAVE_SPI_ID, s_txbuff, s_rxbuff, TEST_BUFF_SIZE);
luat_spi_slave_transfer(SLAVE_SPI_ID, (const char*)s_txbuff, (char*)s_rxbuff, TEST_BUFF_SIZE);
// luat_spi_no_block_transfer(SLAVE_SPI_ID, s_txbuff, s_rxbuff, TEST_BUFF_SIZE * 2, spi_slave_transfer_cb, NULL);
LLOGD("spi slave transfer done");
LLOGD("slave 接收的数据");