aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/fake-radio.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/fake-radio.rs')
-rw-r--r--src/bin/fake-radio.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/fake-radio.rs b/src/bin/fake-radio.rs
index b7daf67..6747937 100644
--- a/src/bin/fake-radio.rs
+++ b/src/bin/fake-radio.rs
@@ -14,7 +14,7 @@ fn build_example_packet(comment: &str) -> anyhow::Result<Vec<u8>> {
let mut buf = [0; MAX_PACKET_LEN];
let mut pkt = ham_cats::packet::Packet::new(&mut buf);
pkt.add_identification(
- Identification::new(&callsign, ssid, icon)
+ Identification::new(callsign, ssid, icon)
.context("Invalid identification")?,
)
.map_err(|e| anyhow!("Could not add identification to packet: {e}"))?;