knxdisplay/main/SdCard.hpp
2026-01-30 08:51:59 +01:00

19 lines
365 B
C++

#pragma once
class SdCard {
public:
static SdCard& instance();
bool init();
bool isMounted() const { return mounted_; }
static constexpr const char* MOUNT_POINT = "/sdcard";
private:
SdCard() = default;
~SdCard() = default;
SdCard(const SdCard&) = delete;
SdCard& operator=(const SdCard&) = delete;
bool mounted_ = false;
};