From 64bbe6fa121ed01dff6c611cfdce5ca11ace48a7 Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Sun, 12 May 2019 21:53:43 +0900 Subject: [PATCH] Disable MSC if BLACKBOX is disabled --- src/main/target/common_post.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/target/common_post.h b/src/main/target/common_post.h index 0ac16b6b94..fc4e504d47 100644 --- a/src/main/target/common_post.h +++ b/src/main/target/common_post.h @@ -236,6 +236,10 @@ #endif #endif +#ifndef USE_BLACKBOX +#undef USE_USB_MSC +#endif + #if (!defined(USE_FLASHFS) || !defined(USE_RTC_TIME) || !defined(USE_USB_MSC)) #undef USE_PERSISTENT_MSC_RTC #endif