From 7c9ce28977ee32b78b00fce68140695a53122b50 Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Sun, 20 Nov 2022 15:10:53 +0530 Subject: [PATCH] Revert "experiment to control level via software" This reverts commit 39b3d79ed6acadace938b3c020b71e9a0340c549. --- old_protocol.c | 2 +- transmitter.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/old_protocol.c b/old_protocol.c index 56b6eaa..b87b151 100644 --- a/old_protocol.c +++ b/old_protocol.c @@ -1728,7 +1728,7 @@ void ozy_send_buffer() { /* } */ output_buffer[C0]=0x12; /* addr[6:1] = 001001b */ - output_buffer[C1]=255 & 0xff; // power & 0xFF; + output_buffer[C1]=power & 0xFF; output_buffer[C2]=0x00; output_buffer[C3]=0x00; output_buffer[C4]=0x00; diff --git a/transmitter.c b/transmitter.c index 7c0d49c..ac20520 100644 --- a/transmitter.c +++ b/transmitter.c @@ -1028,8 +1028,8 @@ static void full_tx_buffer(TRANSMITTER *tx) { } if (isTransmitting()) { - if((radio->device==NEW_DEVICE_ATLAS && atlas_penelope) || - (radio->device == DEVICE_HERMES_LITE2)) { // radioberry + + if(radio->device==NEW_DEVICE_ATLAS && atlas_penelope) { // // On these boards, drive level changes are performed by // scaling the TX IQ samples. In the other cases, DriveLevel -- 2.45.2