From e04846ec9cb5c832824d832c1bd214875d54f7ab Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Fri, 13 Jan 2023 22:49:21 +0530 Subject: [PATCH] another attempt at level control for CW signals --- transmitter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/transmitter.c b/transmitter.c index 7c7b7ba..56fdfb5 100644 --- a/transmitter.c +++ b/transmitter.c @@ -981,6 +981,7 @@ static void full_tx_buffer(TRANSMITTER *tx) { switch(protocol) { case ORIGINAL_PROTOCOL: gain=32767.0; // 16 bit + gain=gain*(double)transmitter->drive_level*0.00392; break; case NEW_PROTOCOL: gain=8388607.0; // 24 bit -- 2.45.2