aboutsummaryrefslogtreecommitdiffstats
path: root/src/radio.rs
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-01-14 17:25:57 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-01-14 17:25:57 +0100
commita1cc9912e6dc80d1152e4c1eef9d00b6c2f215a1 (patch)
tree4c9b18e867b7ffc945cdcbfd0ff14458b62ae372 /src/radio.rs
parent320245d45f2de4c5aa0e0f969505d8f38ebb686c (diff)
downloadcats-radio-node-a1cc9912e6dc80d1152e4c1eef9d00b6c2f215a1.tar.gz
cats-radio-node-a1cc9912e6dc80d1152e4c1eef9d00b6c2f215a1.tar.bz2
cats-radio-node-a1cc9912e6dc80d1152e4c1eef9d00b6c2f215a1.zip
Dump packet on receive error
Diffstat (limited to 'src/radio.rs')
-rw-r--r--src/radio.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radio.rs b/src/radio.rs
index 239685f..1a917be 100644
--- a/src/radio.rs
+++ b/src/radio.rs
@@ -55,6 +55,7 @@ impl RadioManager {
self.radio.set_channel(channel);
}
+ #[allow(dead_code)]
pub fn temperature_mutex(&self) -> Arc<Mutex<f32>> {
self.temperature.clone()
}