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

remove sourceId from api in sendNMEA0183

This commit is contained in:
wellenvogel
2021-12-01 20:57:06 +01:00
parent c105eef969
commit 15c572ed9a
3 changed files with 20 additions and 0 deletions

View File

@@ -70,6 +70,11 @@ public:
GWSYNCHRONIZED(mainLock);
api->sendNMEA0183Message(msg, this->sourceId,convert);
}
virtual void sendNMEA0183Message(const tNMEA0183Msg &msg, bool convert)
{
GWSYNCHRONIZED(mainLock);
api->sendNMEA0183Message(msg, this->sourceId,convert);
}
virtual int getSourceId()
{
return sourceId;
@@ -86,6 +91,9 @@ public:
{
return api->getBoatData();
}
virtual const char* getTalkerId(){
return api->getTalkerId();
}
virtual ~TaskApi(){};
};