Basic working SD card.'
This commit is contained in:
@@ -2,13 +2,14 @@
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
#include "../core/storage_state.h"
|
||||
#include "../storage/sd_manager.h"
|
||||
|
||||
|
||||
class StorageTask
|
||||
{
|
||||
public:
|
||||
StorageTask(SDManager& manager);
|
||||
StorageTask(SDManager& manager, StorageState& state);
|
||||
|
||||
void start();
|
||||
|
||||
@@ -17,6 +18,7 @@ private:
|
||||
void run();
|
||||
|
||||
SDManager& storage;
|
||||
StorageState& storageState;
|
||||
|
||||
TaskHandle_t taskHandle = nullptr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user