summaryrefslogtreecommitdiff
path: root/src/drivers/include
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-04-08 13:50:35 +1000
committerjacqueline <me@jacqueline.id.au>2024-04-08 13:50:35 +1000
commit5f1a6507d8f7a0f9ecea179f94aeb182eac77cfe (patch)
tree42220c19c5511902ef032ec0453a5d3b5cc2d39c /src/drivers/include
parent251c0ba96dadf8d28406095ec2189466b631f7f8 (diff)
downloadtangara-fw-5f1a6507d8f7a0f9ecea179f94aeb182eac77cfe.tar.gz
Warn and block MSC disable if the sd card is busy
Diffstat (limited to 'src/drivers/include')
-rw-r--r--src/drivers/include/samd.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/include/samd.hpp b/src/drivers/include/samd.hpp
index ac265950..55ea513c 100644
--- a/src/drivers/include/samd.hpp
+++ b/src/drivers/include/samd.hpp
@@ -48,8 +48,8 @@ class Samd {
// There is a compatible usb host attached, but USB MSC is not currently
// in use by the SAMD.
kAttachedIdle,
- // The SAMD is currently exposing the SD card via USB MSC.
- kAttachedMounted,
+ // The SAMD is currently writing to the SD card via USB MSC.
+ kAttachedBusy,
};
auto GetUsbStatus() -> UsbStatus;