Basic SD working
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
#include "../storage/sd_manager.h"
|
||||
|
||||
|
||||
class StorageTask
|
||||
{
|
||||
public:
|
||||
StorageTask(SDManager& manager);
|
||||
|
||||
void start();
|
||||
|
||||
private:
|
||||
static void taskEntry(void* parameter);
|
||||
void run();
|
||||
|
||||
SDManager& storage;
|
||||
|
||||
TaskHandle_t taskHandle = nullptr;
|
||||
};
|
||||
Reference in New Issue
Block a user