From 4170266b0f0e779d0c1dcbe519e3307e9f2cde7a Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期一, 22 一月 2024 15:33:15 +0800 Subject: [PATCH] 增加同步部分代码,未测试 --- Src/radio/Lora.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Src/radio/Lora.h b/Src/radio/Lora.h index 6aa3aaa..dce0a78 100644 --- a/Src/radio/Lora.h +++ b/Src/radio/Lora.h @@ -11,5 +11,7 @@ void OnRxDone( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ); void OnTxDone( void ); void LedToggle(void); - +void SwitchLoraToSyncRec(); +uint8_t GetFlagLoraWaitSync(void); +uint8_t GetLoraBufferAndLen(uint8_t* buffer,uint16_t* lp_count); #endif -- Gitblit v1.9.3