From ee0c0072401f967615e172b6a85b7d876f1d5fa0 Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Tue, 7 Jun 2022 23:50:59 +0530 Subject: [PATCH] typo --- old_protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.45.2