From 5f0e16e97a773480a3b09c5312c98742e7049f1d Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 22 Dec 2023 16:48:24 +1100 Subject: Support changing the usb msc state --- src/drivers/include/samd.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/drivers/include') diff --git a/src/drivers/include/samd.hpp b/src/drivers/include/samd.hpp index d9f1ca48..f25f9575 100644 --- a/src/drivers/include/samd.hpp +++ b/src/drivers/include/samd.hpp @@ -54,6 +54,9 @@ class Samd { auto ResetToFlashSamd() -> void; auto PowerDown() -> void; + auto UsbMassStorage(bool en) -> void; + auto UsbMassStorage() -> bool; + // Not copyable or movable. There should usually only ever be once instance // of this class, and that instance will likely have a static lifetime. Samd(const Samd&) = delete; -- cgit v1.2.3