Showing 1 changed files with 6 additions and 1 deletions
+6 -1
Nasal/display.nas
... ...
@@ -1077,6 +1077,10 @@ var displayClass = {
1077 1077
             var dev = radios.getNode(source).getValue();
1078 1078
             var el  = 'BRG' ~ brg;
1079 1079
             if (dev != 'OFF') {
1080
+                if (size(me.device.softkeys.path) == 1 and me.device.softkeys.path[0] == 'PFD')
1081
+                    me.setSoftKeyColor(brg == 1 ? 4 : 6, 1);
1082
+                else
1083
+                    me.setSoftKeyColor(brg == 1 ? 4 : 6, 0);
1080 1084
                 var info = {
1081 1085
                     pointer : nil,
1082 1086
                     id : 'NO DATA',
... ...
@@ -1124,11 +1128,12 @@ var displayClass = {
1124 1128
                     .show();
1125 1129
             }
1126 1130
             else {
1131
+                me.setSoftKeyColor(brg == 1 ? 4 : 6, 0);
1127 1132
                 me.screenElements['BRG' ~ brg]
1128 1133
                     .hide();
1129 1134
             }
1130 1135
         }
1131
-        settimer(func me.updateBRG(), 1);
1136
+        settimer(func me.updateBRG(), 0.5);
1132 1137
     },
1133 1138
 #}}}
1134 1139