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:
@@ -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
|
||||
Reference in New Issue
Block a user