From 805c110bbb3b7c87520f7c1d2c35f63b32ac295c Mon Sep 17 00:00:00 2001
From: c vw <dl1ycf@darc.de>
Date: Wed, 8 Jul 2020 16:22:25 +0200
Subject: [PATCH] Fixed possible bug.

---
 transmitter.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
-- 
2.45.2