From: c vw <dl1ycf@darc.de>
Date: Wed, 8 Jul 2020 14:22:25 +0000 (+0200)
Subject: Fixed possible bug.
X-Git-Url: https://git.rkrishnan.org/components/using.html?a=commitdiff_plain;h=805c110bbb3b7c87520f7c1d2c35f63b32ac295c;p=pihpsdr.git

Fixed possible bug.
---

diff --git a/transmitter.c b/transmitter.c
index ac7e2ad..25abad7 100644
--- a/transmitter.c
+++ b/transmitter.c
@@ -1069,7 +1069,9 @@ static void full_tx_buffer(TRANSMITTER *tx) {
 
   if (isTransmitting()) {
 
-    if(radio->device==NEW_DEVICE_ATLAS && atlas_penelope) {
+    if(  (    (protocol == NEW_PROTOCOL && radio->device==NEW_DEVICE_ATLAS) 
+           || (protocol==ORIGINAL_PROTOCOL && radio->device==DEVICE_METIS)
+         ) && atlas_penelope) {
       //
       // On these boards, drive level changes are performed by
       // scaling the TX IQ samples. In the other cases, DriveLevel