commit 5f6a409718b8b4a122e18dc81973528452275d5e
parent 2b303059363b9aa20aa7afc8500ef6ad856d4dfe
Author: Daniel Barlow <dan@telent.net>
Date: Sun, 16 Nov 2025 21:36:23 +0000
delete unused/commented code
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/wibble.rs b/src/wibble.rs
@@ -5,8 +5,6 @@ use log::{warn,info};
use embassy_futures::join::join;
use embassy_futures::select::select;
-pub fn the_answer() -> i32 { 42 }
-
/// Max number of connections
const CONNECTIONS_MAX: usize = 1;
@@ -69,8 +67,6 @@ pub async fn run_ble(peripheral : esp_hal::peripherals::BT<'_>) {
select(a, b).await;
}
Err(e) => {
- // #[cfg(feature = "defmt")]
- // let e = defmt::Debug2Format(&e);
panic!("[adv] error: {:?}", e);
}
}
@@ -97,8 +93,6 @@ pub async fn run_ble(peripheral : esp_hal::peripherals::BT<'_>) {
async fn ble_task<C: Controller, P: PacketPool>(mut runner: Runner<'_, C, P>) {
loop {
if let Err(e) = runner.run().await {
- // #[cfg(feature = "defmt")]
- // let e = defmt::Debug2Format(&e);
panic!("[ble_task] error: {:?}", e);
}
}