From 11f79746f5d148672649d0078aef9eb123a68acb Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Thu, 16 Jan 2025 21:29:24 +0100 Subject: [PATCH] chore(usb): remove obsolete MSC_BOT_Data (#5755) --- radio/src/edgetx.cpp | 4 ---- radio/src/edgetx.h | 6 ------ 2 files changed, 10 deletions(-) diff --git a/radio/src/edgetx.cpp b/radio/src/edgetx.cpp index 2e4a3f59f..2385f4217 100644 --- a/radio/src/edgetx.cpp +++ b/radio/src/edgetx.cpp @@ -96,10 +96,6 @@ safetych_t safetyCh[MAX_OUTPUT_CHANNELS]; // __DMA for the MSC_BOT_Data member union ReusableBuffer reusableBuffer __DMA; -#if !defined(SIMU) -uint8_t* MSC_BOT_Data = reusableBuffer.MSC_BOT_Data; -#endif - #if defined(DEBUG_LATENCY) uint8_t latencyToggleSwitch = 0; #endif diff --git a/radio/src/edgetx.h b/radio/src/edgetx.h index 8c8947d8d..4857c824c 100644 --- a/radio/src/edgetx.h +++ b/radio/src/edgetx.h @@ -792,12 +792,6 @@ union ReusableBuffer ModuleInformation internalModule; #endif } viewMain; - -#if !defined(SIMU) - // Data for the USB mass storage driver. If USB mass storage - // runs no menu is not allowed to be displayed - uint8_t MSC_BOT_Data[MASS_STORAGE_BUFFER_SIZE]; -#endif }; extern ReusableBuffer reusableBuffer;