Skip to content

Commit

Permalink
chore(usb): remove obsolete MSC_BOT_Data (#5755)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelcoeffic authored Jan 16, 2025
1 parent 795cc35 commit 11f7974
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions radio/src/edgetx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions radio/src/edgetx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 11f7974

Please sign in to comment.