mirror of
https://codeberg.org/mclemens/wt32powermeter.git
synced 2025-01-05 00:47:32 -05:00
„javascript.h“ ändern
This commit is contained in:
parent
60f05a2a96
commit
3998df869a
@ -266,6 +266,7 @@ function getDATA() {
|
|||||||
document.getElementById("max_led_pwr_fwd").innerHTML = data[12]; // sets the FWD LED bar max value
|
document.getElementById("max_led_pwr_fwd").innerHTML = data[12]; // sets the FWD LED bar max value
|
||||||
document.getElementById("max_led_pwr_ref").innerHTML = data[13]; // sets the REF LED bar max value
|
document.getElementById("max_led_pwr_ref").innerHTML = data[13]; // sets the REF LED bar max value
|
||||||
document.getElementById("max_led_vswr").innerHTML = data[14]; // sets the VSWR LED bar max value
|
document.getElementById("max_led_vswr").innerHTML = data[14]; // sets the VSWR LED bar max value
|
||||||
|
document.getElementById("version").innerHTML = data[20]; // sets the version in the footer
|
||||||
// displays "--" as VSWR if the value is too high or number is invalid
|
// displays "--" as VSWR if the value is too high or number is invalid
|
||||||
if (data[6] == "-1" || data[6] == "inf" || data[15] == "1" || data[16] == "1") {
|
if (data[6] == "-1" || data[6] == "inf" || data[15] == "1" || data[16] == "1") {
|
||||||
document.getElementById("VSWRValue").innerHTML = "--";
|
document.getElementById("VSWRValue").innerHTML = "--";
|
||||||
|
Loading…
Reference in New Issue
Block a user