From: Ramakrishnan Muthukrishnan Date: Sat, 14 Jan 2023 13:35:17 +0000 (+0530) Subject: Revert "another attempt at level control for CW signals" X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/file/$top_link?a=commitdiff_plain;h=95489d9da251f37af0ad141d9d1535ef96bb6ccd;p=pihpsdr.git Revert "another attempt at level control for CW signals" This reverts commit e04846ec9cb5c832824d832c1bd214875d54f7ab. --- diff --git a/transmitter.c b/transmitter.c index 56fdfb5..7c7b7ba 100644 --- a/transmitter.c +++ b/transmitter.c @@ -981,7 +981,6 @@ 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