mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-18 00:03:07 +01:00
add example for formatting boat data
This commit is contained in:
@@ -27,9 +27,9 @@ void exampleTask(GwApi *param);
|
||||
void exampleInit(GwApi *param);
|
||||
//make the task known to the core
|
||||
//the task function should not return (unless you delete the task - see example code)
|
||||
DECLARE_USERTASK(exampleTask)
|
||||
//DECLARE_USERTASK(exampleTask)
|
||||
//if your task is not happy with the default 2000 bytes of stack, replace the DECLARE_USERTASK
|
||||
//with: DECLARE_USERTASK_PARAM(exampleTask,4000);
|
||||
DECLARE_USERTASK_PARAM(exampleTask,4000);
|
||||
//this would create our task with a stack size of 4000 bytes
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user