]> code.octet-stream.net Git - m17rt/blobdiff - tools/m17rt-mod/src/main.rs
RTLSDR input via rtl_fm
[m17rt] / tools / m17rt-mod / src / main.rs
index 50358bd7a34634c916c75b9367b2f7209b86df79..3bd672785c359dc2e01e1cc288734a436325645d 100644 (file)
@@ -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);