pub fn mod_test() {
let soundcard = Soundcard::new("plughw:CARD=Device,DEV=0").unwrap();
+ soundcard.set_tx_inverted(true);
let ptt = SerialPtt::new("/dev/ttyUSB0", PttPin::Rts);
let soundmodem = Soundmodem::new(soundcard.input(), soundcard.output(), ptt);
let app = M17App::new(soundmodem);
}
fn main() {
- env_logger::init();
+ env_logger::builder()
+ .format_timestamp(Some(env_logger::TimestampPrecision::Millis))
+ .init();
mod_test();
}