From: John Melton g0orx/n6lyt Date: Tue, 3 May 2016 10:59:46 +0000 (+0000) Subject: Improved T/R switching X-Git-Url: https://git.rkrishnan.org/specifications/vdrive/sub?a=commitdiff_plain;h=e61b6092e46918a5365f4ab054626e3e6b26196d;p=pihpsdr.git Improved T/R switching --- diff --git a/pihpsdr b/pihpsdr index b2c735f..721102c 100755 Binary files a/pihpsdr and b/pihpsdr differ diff --git a/radio.c b/radio.c index 8769e4a..b5fdb11 100644 --- a/radio.c +++ b/radio.c @@ -193,6 +193,13 @@ fprintf(stderr,"setMox: protocol=%d\n", protocol); if(protocol==NEW_PROTOCOL) { schedule_high_priority(3); } + if(mox) { + SetChannelState(CHANNEL_RX0,0,1); + SetChannelState(CHANNEL_TX,1,0); + } else { + SetChannelState(CHANNEL_TX,0,1); + SetChannelState(CHANNEL_RX0,1,0); + } } } diff --git a/release/pihpsdr.tar b/release/pihpsdr.tar index a740c2c..8d4edbb 100644 Binary files a/release/pihpsdr.tar and b/release/pihpsdr.tar differ diff --git a/release/pihpsdr/pihpsdr b/release/pihpsdr/pihpsdr index b2c735f..721102c 100755 Binary files a/release/pihpsdr/pihpsdr and b/release/pihpsdr/pihpsdr differ