diff --git a/radio/src/edgetx.cpp b/radio/src/edgetx.cpp index 2e4a3f59fbc..2385f421766 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 8c8947d8d8b..4857c824ca6 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;