1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00

convert xte 2 way

This commit is contained in:
wellenvogel
2021-11-18 17:27:40 +01:00
parent 292fc006ae
commit aa0d22aab3
6 changed files with 95 additions and 20 deletions

View File

@@ -548,6 +548,14 @@ let valueFormatters = {
return x.toFixed(2);
},
u:'°/s'
},
formatXte:{
f: function(v){
let x=parseFloat(v);
if (isNaN(x)) return '---';
return x.toFixed(0);
},
u:'m'
}
}
function createDashboardItem(name, def, parent) {