X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/8feaa040715d4e7872c6ced423cd582a77b613c2..7a14bb4738cf011d9f99dc86abaee7042407b27d:/m17core/src/reflector/convert.rs?ds=sidebyside diff --git a/m17core/src/reflector/convert.rs b/m17core/src/reflector/convert.rs index 7ad54c3..fd52df8 100644 --- a/m17core/src/reflector/convert.rs +++ b/m17core/src/reflector/convert.rs @@ -7,6 +7,7 @@ use super::packet::Voice; /// Accepts `Voice` packets from a reflector and turns them into LSF and Stream frames. /// /// This is the format required for the voice data to cross the KISS protocol boundary. +#[derive(Debug, Default)] pub struct VoiceToRf { /// Link Setup most recently acquired lsf: Option, @@ -61,6 +62,7 @@ impl VoiceToRf { /// /// For a series of transmissions this object should be re-used so that Stream ID is correctly /// changed after each new LSF. +#[derive(Debug, Clone)] pub struct RfToVoice { lsf: LsfFrame, stream_id: u16,