summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2022-11-28 14:09:53 -0500
committerGalen Guyer <galen@galenguyer.com>2022-11-28 14:09:53 -0500
commit284fb87d68596b750c34c0a1164b780479aa04cf (patch)
treed630b61abbb718fa7904956566abd4524b75996a
parent8870639dd5bd0e64bcb27b10cb9174362811e1f2 (diff)
Better logging
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index d8e0a5a..1e2edaa 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -147,6 +147,7 @@ fn main() {
}
}
None => {
+ println!("Switching to TG: {}", curr_tg.name);
listening_tg = Some(curr_tg.to_owned());
}
}
@@ -159,7 +160,6 @@ fn main() {
continue;
}
- println!("TalkGroup: {}: {} bytes", curr_tg.name, filled_buf.len() - 4);
for sample in audio_bytes.chunks_exact(2) {
let sample =
i16::from_le_bytes(sample.try_into().expect("slice with incorrect length"));