mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 20:10:18 +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
|
@ -3723,7 +3723,7 @@ static void cliDiff(char *cmdline)
|
|||
printConfig(cmdline, true);
|
||||
}
|
||||
|
||||
#ifdef USB_MSC
|
||||
#ifdef USE_USB_MSC
|
||||
static void cliMsc(char *cmdline)
|
||||
{
|
||||
UNUSED(cmdline);
|
||||
|
@ -3872,7 +3872,7 @@ const clicmd_t cmdTable[] = {
|
|||
#ifdef USE_VTX_CONTROL
|
||||
CLI_COMMAND_DEF("vtx", "vtx channels on switch", NULL, cliVtx),
|
||||
#endif
|
||||
#ifdef USB_MSC
|
||||
#ifdef USE_USB_MSC
|
||||
CLI_COMMAND_DEF("msc", "switch into msc mode", NULL, cliMsc),
|
||||
#endif
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue