From b6c3e132347afea889acb67fe41c1d27a068d4e6 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 cacc2aa..d2730d3 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()