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:
@@ -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