mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-11-18 13:11:27 +01:00
convert xte 2 way
This commit is contained in:
1 parent
292fc006ae
commit
aa0d22aab3
6 files changed
+95
-20
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user