... | ... |
@@ -135,7 +135,13 @@ var APClass = { |
135 | 135 |
# setprop(apfd_master_sw, !getprop(apfd_master_sw)); |
136 | 136 |
}, |
137 | 137 |
func { |
138 |
-# call(stec55x.button.NAV, [], nil, stec55x); |
|
138 |
+ var _roll = stec55x.roll.getValue(); |
|
139 |
+ if (_roll == 1 or _roll == 2 or _roll == 4) |
|
140 |
+ stec55x.roll.setValue(-1); |
|
141 |
+ else { |
|
142 |
+ stec55x.roll.setValue(1); |
|
143 |
+ call(stec55x.button.NAV, [], nil, stec55x); |
|
144 |
+ } |
|
139 | 145 |
}, |
140 | 146 |
func { |
141 | 147 |
# call(stec55x.button.ALT, [], nil, stec55x); |