From 460f965e1ec083e5cd3f8ce86d926db14b5c34fe Mon Sep 17 00:00:00 2001 From: c vw Date: Thu, 13 Jan 2022 10:16:51 +0100 Subject: [PATCH] USBOZY: by default, assume "No Janus" --- radio.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/radio.c b/radio.c index 5b7e5ec..45de86a 100644 --- a/radio.c +++ b/radio.c @@ -686,13 +686,21 @@ void start_radio() { device=radio->device; if ((protocol == ORIGINAL_PROTOCOL && device == DEVICE_METIS) || +#ifdef USBOZY + (protocol == ORIGINAL_PROTOCOL && device == DEVICE_OZY) || +#endif (protocol == NEW_PROTOCOL && device == NEW_DEVICE_ATLAS)) { // // by default, assume there is a penelope board (no PennyLane) // when using an ATLAS bus system, to avoid TX overdrive due to // missing IQ scaling. // - atlas_penelope = 1; + atlas_penelope = 1; // TX present, do IQ scaling +#ifdef USBOZY + if (device == DEVICE_OZY) { + atlas_mic_source = 1; // Defauolt: assume no "Janus" + } +#endif } // set the default power output and max drive value drive_max=100.0; -- 2.45.2