summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1970-01-01 09:01:29 +0900
committerroot <root@avtech.domain.avtechpulse.com>1970-01-01 09:01:29 +0900
commit6a1773eca8995139cd60cbcb72c97963f355c267 (patch)
treee4c1187d89d0063301f476ab590a20092acf6a57 /menus.c
parent4619a7fd1c5eb19aaca0f0c9adc65573e2c3b5eb (diff)
fix route settingINSTRUMENT_6_0_19
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;