Revert "experiment to control level via software"
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sun, 20 Nov 2022 09:40:53 +0000 (15:10 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sun, 20 Nov 2022 09:40:53 +0000 (15:10 +0530)
This reverts commit 39b3d79ed6acadace938b3c020b71e9a0340c549.

old_protocol.c
transmitter.c

index 56b6eaa1bc008ff6af558428db2ec0b87b2101cc..b87b15198b0c77d44d8add0e7445c75d9fe9f6bd 100644 (file)
@@ -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;
index 7c0d49cca6d4fcd9f122809f46d52c2314f9d1f3..ac2052027ebc0a6b9c4b536e5393e51189f89e1f 100644 (file)
@@ -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