aboutsummaryrefslogtreecommitdiff
path: root/examples/rp/src/bin/lora_p2p_receive.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rp/src/bin/lora_p2p_receive.rs')
-rw-r--r--examples/rp/src/bin/lora_p2p_receive.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rp/src/bin/lora_p2p_receive.rs b/examples/rp/src/bin/lora_p2p_receive.rs
index 5891826fd..d5843fdcd 100644
--- a/examples/rp/src/bin/lora_p2p_receive.rs
+++ b/examples/rp/src/bin/lora_p2p_receive.rs
@@ -11,7 +11,7 @@ use embassy_executor::Spawner;
11use embassy_lora::iv::GenericSx126xInterfaceVariant; 11use embassy_lora::iv::GenericSx126xInterfaceVariant;
12use embassy_rp::gpio::{Input, Level, Output, Pin, Pull}; 12use embassy_rp::gpio::{Input, Level, Output, Pin, Pull};
13use embassy_rp::spi::{Config, Spi}; 13use embassy_rp::spi::{Config, Spi};
14use embassy_time::{Delay, Duration, Timer}; 14use embassy_time::{Delay, Timer};
15use lora_phy::mod_params::*; 15use lora_phy::mod_params::*;
16use lora_phy::sx1261_2::SX1261_2; 16use lora_phy::sx1261_2::SX1261_2;
17use lora_phy::LoRa; 17use lora_phy::LoRa;
@@ -96,7 +96,7 @@ async fn main(_spawner: Spawner) {
96 { 96 {
97 info!("rx successful"); 97 info!("rx successful");
98 debug_indicator.set_high(); 98 debug_indicator.set_high();
99 Timer::after(Duration::from_secs(5)).await; 99 Timer::after_secs(5).await;
100 debug_indicator.set_low(); 100 debug_indicator.set_low();
101 } else { 101 } else {
102 info!("rx unknown packet"); 102 info!("rx unknown packet");