Fix warning NMEA0183DataToN2K.cpp

Also switch to more readable function names
This commit is contained in:
rowa-hooge 2025-01-02 10:57:05 +01:00 committed by wellenvogel
parent b640d1adda
commit 756064a362
1 changed files with 2 additions and 2 deletions

View File

@ -351,8 +351,8 @@ private:
rmb.vmg rmb.vmg
); );
send(n2kMsg,msg.sourceId); send(n2kMsg,msg.sourceId);
SetN2kPGN129285(n2kMsg,sourceId,1,1,true,true,"default"); SetN2kRouteWPInfo(n2kMsg,sourceId,1,1,N2kdir_forward,"default");
AppendN2kPGN129285(n2kMsg,destinationId,rmb.destID,rmb.latitude,rmb.longitude); AppendN2kRouteWPInfo(n2kMsg,destinationId,rmb.destID,rmb.latitude,rmb.longitude);
send(n2kMsg,msg.sourceId); send(n2kMsg,msg.sourceId);
} }
} }