1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-18 00:03:07 +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,5 +1,11 @@
#ifndef _GWEXAMPLETASK_H
#define _GWEXAMPLETASK_H
//task function
#include "GwExampleHardware.h"
#include "GwApi.h"
//we only compile for some boards
#ifdef BOARD_TEST
void exampleTask(void *param);
//make the task known to the core
DECLARE_USERTASK(exampleTask);
#endif
#endif