X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/6440cd74346c4b2d63d4774476e8c6113c032534..3903e719137aba15d30dd58b8d917965ec602400:/tools/m17rt-mod/src/main.rs diff --git a/tools/m17rt-mod/src/main.rs b/tools/m17rt-mod/src/main.rs index 50358bd..b5708e9 100644 --- a/tools/m17rt-mod/src/main.rs +++ b/tools/m17rt-mod/src/main.rs @@ -8,6 +8,7 @@ use std::path::PathBuf; 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); @@ -27,6 +28,8 @@ pub fn mod_test() { } fn main() { - env_logger::init(); + env_logger::builder() + .format_timestamp(Some(env_logger::TimestampPrecision::Millis)) + .init(); mod_test(); }