From 6700e79155e06501e56f2f693970a64c400305b4 Mon Sep 17 00:00:00 2001 From: Stanislaw Grams Date: Mon, 16 Mar 2026 23:17:47 +0100 Subject: [PATCH] [refactor](trx-frontend-http): remove /set_fir_taps endpoint Drop FirTapsQuery, the set_fir_taps handler, and its service registration. Tap count is no longer user-configurable. Co-authored-by: Claude Sonnet 4.6 Signed-off-by: Stanislaw Grams --- .../trx-frontend/trx-frontend-http/src/api.rs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/trx-client/trx-frontend/trx-frontend-http/src/api.rs b/src/trx-client/trx-frontend/trx-frontend-http/src/api.rs index 551dce9..53adcf3 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/src/api.rs +++ b/src/trx-client/trx-frontend/trx-frontend-http/src/api.rs @@ -847,19 +847,6 @@ pub async fn set_bandwidth( send_command(&rig_tx, RigCommand::SetBandwidth(query.hz)).await } -#[derive(serde::Deserialize)] -pub struct FirTapsQuery { - pub taps: u32, -} - -#[post("/set_fir_taps")] -pub async fn set_fir_taps( - query: web::Query, - rig_tx: web::Data>, -) -> Result { - send_command(&rig_tx, RigCommand::SetFirTaps(query.taps)).await -} - #[derive(serde::Deserialize)] pub struct SdrGainQuery { pub db: f64, @@ -1557,7 +1544,6 @@ pub fn configure(cfg: &mut web::ServiceConfig) { .service(set_ptt) .service(set_tx_limit) .service(set_bandwidth) - .service(set_fir_taps) .service(set_sdr_gain) .service(set_sdr_lna_gain) .service(set_sdr_agc)