From: Ramakrishnan Muthukrishnan <ram@leastauthority.com>
Date: Tue, 7 Jun 2022 18:20:59 +0000 (+0530)
Subject: typo
X-Git-Url: https://git.rkrishnan.org/pf/components/$rel_link?a=commitdiff_plain;h=ee0c0072401f967615e172b6a85b7d876f1d5fa0;p=pihpsdr.git

typo
---

diff --git a/old_protocol.c b/old_protocol.c
index 9e55d87..cfc87c6 100644
--- a/old_protocol.c
+++ b/old_protocol.c
@@ -1800,7 +1800,7 @@ static int last_power=0;
           if (isTransmitting()) {
             output_buffer[C4]=0x20 | (transmitter->attenuation & 0x1F);
           } else {
-            output_buffer[C4]=0x20 | (adc_attenuation[0] & 0x1F);
+            output_buffer[C4]=0x20 | (adc[0].attenuation & 0x1F);
             //output_buffer[C4]=0x20 | ((int)adc[0].gain & 0x1F);
           } 
         }