change direction add commutask

This commit is contained in:
2022-09-16 09:32:03 +02:00
parent c465a9ed93
commit 708cc2f83d
9 changed files with 74 additions and 7 deletions

25
firmware/src/commu_task.h Normal file
View File

@@ -0,0 +1,25 @@
#pragma once
#include <Arduino.h>
#include <WiFi.h>
#include "knob_data.h"
#include "task.h"
class CommuTask : public Task<CommuTask> {
friend class Task<CommuTask>; // Allow base Task to invoke protected run()
public:
CommuTask(const uint8_t task_core);
~CommuTask();
protected:
void run();
private:
SemaphoreHandle_t mutex_;
};