#ifndef SDCARD_TASK_H #define SDCARD_TASK_H #include #include #include #include #include #include "config.h" extern volatile bool sdLoggingActive; extern volatile bool sdAutoStart; extern char currentLogFileName[64]; void sdTaskInit(); void sdLoggingTask(void *param); bool sdCreateNewLogFile(); void sdStopLogging(); void sdStartLogging(); String sdGetFileList(); bool sdDeleteFile(const char *filename); bool sdCardPresent(); String sdGetComment(const char *filename); bool sdSetComment(const char *filename, const char *comment); bool sdGetAutoStart(); void sdSetAutoStart(bool enable); #endif