mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Generalised USB MSC use for all F4 targets with SD card. (#5519)
This commit is contained in:
parent
79debdc993
commit
a8e86880f5
10 changed files with 20 additions and 11 deletions
|
@ -71,7 +71,7 @@
|
|||
#include "drivers/usb_io.h"
|
||||
#include "drivers/vtx_rtc6705.h"
|
||||
#include "drivers/vtx_common.h"
|
||||
#ifdef USB_MSC
|
||||
#ifdef USE_USB_MSC
|
||||
#include "drivers/usb_msc.h"
|
||||
#endif
|
||||
|
||||
|
@ -453,7 +453,7 @@ void init(void)
|
|||
#endif
|
||||
#endif // USE_SPI
|
||||
|
||||
#ifdef USB_MSC
|
||||
#ifdef USE_USB_MSC
|
||||
/* MSC mode will start after init, but will not allow scheduler to run,
|
||||
* so there is no bottleneck in reading and writing data */
|
||||
mscButtonInit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue