mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-11-17 13:11:27 +01:00
add exampleTask
This commit is contained in:
1 parent
5b39145e4f
commit
99ba4b3d8e
4 files changed
+94
No files matched your search
@@ -61,6 +61,7 @@ const unsigned long HEAP_REPORT_TIME=2000; //set to 0 to disable heap reporting
|
||||
#include "GwLeds.h"
|
||||
#include "GwCounter.h"
|
||||
#include "GwXDRMappings.h"
|
||||
#include "GwExampleTask.h"
|
||||
|
||||
|
||||
//NMEA message channels
|
||||
@@ -235,6 +236,9 @@ public:
|
||||
virtual GwLog* getLogger(){
|
||||
return &logger;
|
||||
}
|
||||
virtual GwBoatData *getBoatData(){
|
||||
return &boatData;
|
||||
}
|
||||
};
|
||||
|
||||
bool delayedRestart(){
|
||||
@@ -660,6 +664,7 @@ void setup() {
|
||||
startAddOnTask(handleButtons,100);
|
||||
setLedMode(LED_GREEN);
|
||||
startAddOnTask(handleLeds,101);
|
||||
startAddOnTask(exampleTask,102);
|
||||
logger.logDebug(GwLog::LOG,"setup done");
|
||||
}
|
||||
//*****************************************************************************
|
||||
|
||||
Reference in new issue
Block a user