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

intermediate: generic handling of user tasks

This commit is contained in:
wellenvogel
2021-11-27 14:57:16 +01:00
parent 5bf2aeaffe
commit 1e4285fe5d
11 changed files with 157 additions and 19 deletions

View File

@@ -1,8 +1,8 @@
#ifndef _GWAPI_H
#define _GWAPI_H
#include "GwMessage.h"
#include "N2kMessages.h"
#include "NMEA0183Messages.h"
#include "N2kMsg.h"
#include "NMEA0183Msg.h"
#include "GWConfig.h"
#include "GwBoatData.h"
//API to be used for additional tasks
@@ -16,4 +16,7 @@ class GwApi{
virtual GwLog *getLogger()=0;
virtual GwBoatData *getBoatData()=0;
};
#endif
#ifndef DECLARE_USERTASK
#define DECLARE_USERTASK(task)
#endif
#endif