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 2d88aeb..b49d610 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 @@ -1348,10 +1348,8 @@ pub async fn toggle_lrpt_decode( #[post("/clear_wxsat_decode")] pub async fn clear_wxsat_decode( query: web::Query, - context: web::Data>, rig_tx: web::Data>, ) -> Result { - crate::server::audio::clear_wxsat_history(context.get_ref()); send_command( &rig_tx, RigCommand::ResetWxsatDecoder, @@ -1363,10 +1361,8 @@ pub async fn clear_wxsat_decode( #[post("/clear_lrpt_decode")] pub async fn clear_lrpt_decode( query: web::Query, - context: web::Data>, rig_tx: web::Data>, ) -> Result { - crate::server::audio::clear_lrpt_history(context.get_ref()); send_command( &rig_tx, RigCommand::ResetLrptDecoder, @@ -2556,6 +2552,7 @@ async fn wait_for_view(mut rx: watch::Receiver) -> Result