X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/9a5a0d1e59e5f813f17239b674336ac9814c16b4..e307431f908eedae321aa86565fd5e213d758216:/m17core/src/reflector/convert.rs diff --git a/m17core/src/reflector/convert.rs b/m17core/src/reflector/convert.rs index fd52df8..716e68a 100644 --- a/m17core/src/reflector/convert.rs +++ b/m17core/src/reflector/convert.rs @@ -70,7 +70,9 @@ pub struct RfToVoice { impl RfToVoice { pub fn new(lsf: LsfFrame) -> Self { - Self { lsf, stream_id: 0 } + // no_std "random" + let stream_id = &lsf as *const LsfFrame as u16; + Self { lsf, stream_id } } pub fn process_lsf(&mut self, lsf: LsfFrame) {