summaryrefslogtreecommitdiff
path: root/src/drivers/include/storage.hpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-09-13 10:09:04 +1000
committerjacqueline <me@jacqueline.id.au>2023-09-13 10:09:04 +1000
commit0ea358ab8157d743dc07f12bde5fb34d03a02522 (patch)
treefade7a837b75f94df95ac2a00a0775353179155d /src/drivers/include/storage.hpp
parentb0aa9ab391143a8139373e42ea95ccb6ed14ce60 (diff)
downloadtangara-fw-0ea358ab8157d743dc07f12bde5fb34d03a02522.tar.gz
Make the onboarding flow basically work. Much still to do!
Diffstat (limited to 'src/drivers/include/storage.hpp')
-rw-r--r--src/drivers/include/storage.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/drivers/include/storage.hpp b/src/drivers/include/storage.hpp
index 0b0cb494..836bbbdc 100644
--- a/src/drivers/include/storage.hpp
+++ b/src/drivers/include/storage.hpp
@@ -21,6 +21,13 @@ namespace drivers {
extern const char* kStoragePath;
+enum class SdState {
+ kNotPresent,
+ kNotFormatted,
+ kNotMounted,
+ kMounted,
+};
+
class SdStorage {
public:
enum Error {