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).unwrap();
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).unwrap();