summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
Diffstat (limited to 'menus.c')
-rw-r--r--menus.c4
1 files 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;