1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-14 22:43:07 +01:00

allow for dynamic user task registration

This commit is contained in:
andreas
2023-10-27 19:55:22 +02:00
parent 682bbb5bb4
commit 9e05a86820
6 changed files with 42 additions and 7 deletions

View File

@@ -328,6 +328,9 @@ public:
return xdrMappings.addFixedMapping(mapping);
}
virtual void addCapability(const String &name, const String &value){}
virtual bool addUserTask(GwUserTaskFunction task,const String Name, int stackSize=2000){
return false;
}
};
bool delayedRestart(){