forked from FOSS/BangleApps
spacer: fix some warnings
parent
d38dec5e4c
commit
473b973410
|
@ -158,7 +158,7 @@ let skys = {
|
||||||
if (sortedSats[4] && sortedSats[4].snr) {
|
if (sortedSats[4] && sortedSats[4].snr) {
|
||||||
return "" + sortedSats[4].snr + "dB";
|
return "" + sortedSats[4].snr + "dB";
|
||||||
}
|
}
|
||||||
for (i=4; i>=0; i--) {
|
for (let i=4; i>=0; i--) {
|
||||||
if (sortedSats[i] && sortedSats[i].snr)
|
if (sortedSats[i] && sortedSats[i].snr)
|
||||||
return "S" + (i+1);
|
return "S" + (i+1);
|
||||||
}
|
}
|
||||||
|
@ -450,7 +450,7 @@ let sky = {
|
||||||
this.sys += 1;
|
this.sys += 1;
|
||||||
if (this.sys == 4)
|
if (this.sys == 4)
|
||||||
this.sys = 0;
|
this.sys = 0;
|
||||||
val = 7;
|
let val = 7;
|
||||||
if (this.sys)
|
if (this.sys)
|
||||||
val = 1 << (this.sys - 1);
|
val = 1 << (this.sys - 1);
|
||||||
this.casic_cmd("$PCAS04,"+val);
|
this.casic_cmd("$PCAS04,"+val);
|
||||||
|
|
Loading…
Reference in New Issue