From 6a1773eca8995139cd60cbcb72c97963f355c267 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 1 Jan 1970 09:01:29 +0900 Subject: fix route setting --- menus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menus.c b/menus.c index 6b0cea4..a0fec03 100644 --- a/menus.c +++ b/menus.c @@ -1978,14 +1978,14 @@ static void Submenu_Display(int change_selection) case mode_route1: mode_name = g_strdup("1"); - if (globals.Flash.route_primary == 1) { + if (globals.ChannelState[channel].route_primary == 1) { current_operating_mode=i; } break; case mode_route2: mode_name = g_strdup("2"); - if (globals.Flash.route_primary == 2) { + if (globals.ChannelState[channel].route_primary == 2) { current_operating_mode=i; } break; -- cgit