aboutsummaryrefslogtreecommitdiff
path: root/Marlin/src/HAL/STM32F1/msc_sd.h
diff options
context:
space:
mode:
Diffstat (limited to 'Marlin/src/HAL/STM32F1/msc_sd.h')
-rw-r--r--Marlin/src/HAL/STM32F1/msc_sd.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/Marlin/src/HAL/STM32F1/msc_sd.h b/Marlin/src/HAL/STM32F1/msc_sd.h
new file mode 100644
index 0000000..151287f
--- /dev/null
+++ b/Marlin/src/HAL/STM32F1/msc_sd.h
@@ -0,0 +1,26 @@
+/**
+ * Marlin 3D Printer Firmware
+ *
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ * Copyright (c) 2019 BigTreeTech [https://github.com/bigtreetech]
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+#include <USBComposite.h>
+
+#include "../../inc/MarlinConfigPre.h"
+#include "../../core/serial_hook.h"
+
+extern USBMassStorage MarlinMSC;
+extern Serial0Type<USBCompositeSerial> MarlinCompositeSerial;
+
+void MSC_SD_init();