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

convert ROT from/to, add conv doc

This commit is contained in:
wellenvogel
2021-11-18 13:36:59 +01:00
parent ff4b3b5c10
commit 32f9badda2
4 changed files with 36 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ class GwBoatItemBase{
GWSC(kelvinToC);
GWSC(mtr2nm);
GWSC(formatDop);
GWSC(formatRot);
typedef std::vector<GwBoatItemBase*> GwBoatItemMap;
protected:
unsigned long lastSet=0;
@@ -224,6 +225,7 @@ class GwBoatData{
GWBOATDATA(double,AWA,4000,formatWind)
GWBOATDATA(double,Heading,4000,formatCourse) //true
GWBOATDATA(double,MagneticHeading,4000,formatCourse)
GWBOATDATA(double,ROT,4000,formatRot)
GWBOATDATA(double,Variation,4000,formatCourse)
GWBOATDATA(double,Deviation,4000,formatCourse)
GWBOATDATA(double,HDOP,4000,formatDop)