fix formats
This commit is contained in:
@@ -94,13 +94,6 @@ impl Board {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub async fn start(mut self) -> Result<(), crate::error::Error> {
|
pub async fn start(mut self) -> Result<(), crate::error::Error> {
|
||||||
// loop {
|
|
||||||
// if let Some(res) = self.nfc.felica_polling(0xFFFF, 0x00, 100)? {
|
|
||||||
// defmt::debug!("{}", Debug2Format(&res));
|
|
||||||
// break;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
self.lora.try_join().await?;
|
self.lora.try_join().await?;
|
||||||
defmt::info!("Board started");
|
defmt::info!("Board started");
|
||||||
LED_STATE.store(true, Ordering::Relaxed);
|
LED_STATE.store(true, Ordering::Relaxed);
|
||||||
@@ -123,14 +116,12 @@ impl Board {
|
|||||||
self.trng.clone()
|
self.trng.clone()
|
||||||
)?
|
)?
|
||||||
);
|
);
|
||||||
|
|
||||||
self.spawner.spawn(
|
self.spawner.spawn(
|
||||||
components::lora::start_send_data_task(
|
components::lora::start_send_data_task(
|
||||||
self.lora,
|
self.lora,
|
||||||
lora_channel.subscriber()?
|
lora_channel.subscriber()?
|
||||||
)?
|
)?
|
||||||
);
|
);
|
||||||
|
|
||||||
self.spawner.spawn(
|
self.spawner.spawn(
|
||||||
components::lora::start_heartbeat_task(lora_channel.publisher()?)?
|
components::lora::start_heartbeat_task(lora_channel.publisher()?)?
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user