Bugfix: eigth memo not cleared
This commit is contained in:
parent
aba1c15b7f
commit
ca86e1581e
1 changed files with 2 additions and 2 deletions
|
@ -147,11 +147,11 @@ var ECAM_controller = {
|
||||||
# clear display momentarily
|
# clear display momentarily
|
||||||
|
|
||||||
|
|
||||||
for(var n = 1; n < 8; n += 1) {
|
for(var n = 1; n <= 8; n += 1) {
|
||||||
setprop("/ECAM/msg/line" ~ n, "");
|
setprop("/ECAM/msg/line" ~ n, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
for(var n = 1; n < 8; n += 1) {
|
for(var n = 1; n <= 8; n += 1) {
|
||||||
setprop("/ECAM/rightmsg/line" ~ n, "");
|
setprop("/ECAM/rightmsg/line" ~ n, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue