Fix deprecated warning in main.cpp

This commit is contained in:
rowa-hooge 2025-01-02 11:56:00 +01:00 committed by wellenvogel
parent c55bcc1f94
commit c5cadce268
1 changed files with 1 additions and 1 deletions

View File

@ -917,7 +917,7 @@ void setup() {
logger.flush();
NMEA2000.SetMode(tNMEA2000::N2km_ListenAndNode, NodeAddress);
NMEA2000.SetForwardOwnMessages(false);
NMEA2000.SetHeartbeatInterval(NMEA2000_HEARTBEAT_INTERVAL);
NMEA2000.SetHeartbeatIntervalAndOffset(NMEA2000_HEARTBEAT_INTERVAL);
if (sendOutN2k){
// Set the information for other bus devices, which messages we support
unsigned long *pgns=toN2KConverter->handledPgns();