mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-16 07:23:07 +01:00
move user task handling into separate lib
This commit is contained in:
14
lib/usercode/GwUserCode.h
Normal file
14
lib/usercode/GwUserCode.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef _GWUSERCODE_H
|
||||
#define _GWUSERCODE_H
|
||||
#include <Arduino.h>
|
||||
class GwLog;
|
||||
class GwApi;
|
||||
class GwUserCode{
|
||||
GwLog *logger;
|
||||
GwApi *api;
|
||||
public:
|
||||
GwUserCode(GwApi *api);
|
||||
void startUserTasks(int baseId);
|
||||
void startAddonTask(String name,TaskFunction_t task, int id);
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user