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

introduce a type safe task adta exchange interface

This commit is contained in:
andreas
2023-10-24 14:48:47 +02:00
parent b5210a79e8
commit 6758c59a3a
6 changed files with 232 additions and 84 deletions

View File

@@ -0,0 +1,14 @@
#ifndef GWIEXAMPLETASK_H
#define GWIEXAMPLETASK_H
#include "GwApi.h"
/**
* an interface for the example task
*/
class ExampleIf : public GwApi::TaskInterfaces::Base{
public:
long count=0;
String someValue;
};
DECLARE_TASKIF(exampleTask,ExampleIf);
#endif