From a61102099d74e7a5293696af70a18104e8e78975 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期四, 07 十一月 2024 16:06:07 +0800 Subject: [PATCH] 1.22,改为3s一个周期 第一秒发lora 第二个周期开uwb,第三秒关uwb --- Src/OnChipDevices/Spi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/OnChipDevices/Spi.c b/Src/OnChipDevices/Spi.c index c1422d8..5bf96a0 100644 --- a/Src/OnChipDevices/Spi.c +++ b/Src/OnChipDevices/Spi.c @@ -50,7 +50,7 @@ decaIrqStatus_t stat ; // stat = decamutexon() ; -Uwb_CS_di(); +//Uwb_CS_di(); SPIx_CS_GPIO->BRR = SPIx_CS; // delay_ms(1); // tt=HAL_SPI_Transmit(&hspi1,headerBuffer,headerLength,10); @@ -104,7 +104,7 @@ /* Wait for SPIx Tx buffer empty */ //while (port_SPIx_busy_sending()); -Uwb_CS_di(); +//Uwb_CS_di(); SPIx_CS_GPIO->BRR = SPIx_CS; // HAL_SPI_Transmit(&hspi1,headerBuffer,headerLength,10); // HAL_SPI_Receive(&hspi1,readBuffer,readlength,10); -- Gitblit v1.9.3