X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/54fc21708c9121409560731f90b91e59699f4ddc..2fb25de49daca6ddff6f5af13bcf7c314aafafb3:/tools/m17rt-txpacket/src/main.rs?ds=inline diff --git a/tools/m17rt-txpacket/src/main.rs b/tools/m17rt-txpacket/src/main.rs index 37f86d9..fcac6f5 100644 --- a/tools/m17rt-txpacket/src/main.rs +++ b/tools/m17rt-txpacket/src/main.rs @@ -8,7 +8,7 @@ use m17core::protocol::PacketType; fn main() { let soundcard = Soundcard::new("plughw:CARD=Device,DEV=0").unwrap(); soundcard.set_tx_inverted(true); - let ptt = SerialPtt::new("/dev/ttyUSB0", PttPin::Rts); + let ptt = SerialPtt::new("/dev/ttyUSB0", PttPin::Rts).unwrap(); let soundmodem = Soundmodem::new(soundcard.input(), soundcard.output(), ptt); let app = M17App::new(soundmodem);