From 63bac7af1b6c2afb0cd1f5722effb2338732844d Mon Sep 17 00:00:00 2001 From: Jack Kingsman Date: Fri, 30 Jan 2026 20:35:22 -0800 Subject: [PATCH] Resync settings after radio mutation --- app/routers/radio.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/routers/radio.py b/app/routers/radio.py index cacc2aa4..d2730d3e 100644 --- a/app/routers/radio.py +++ b/app/routers/radio.py @@ -104,6 +104,11 @@ async def update_radio_config(update: RadioConfigUpdate) -> RadioConfigResponse: # Sync time with system clock await sync_radio_time() + # Re-fetch self_info so the response reflects the changes we just made. + # Commands like set_name() write to flash but don't update the cached + # self_info — send_appstart() triggers a fresh SELF_INFO from the radio. + await mc.commands.send_appstart() + return await get_radio_config()