mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Made MSC initialisation pin configurable. (#5535)
This commit is contained in:
parent
605962d9a5
commit
83e614c139
13 changed files with 99 additions and 69 deletions
|
@ -962,6 +962,9 @@ const clivalue_t valueTable[] = {
|
|||
#ifdef USE_USB_CDC_HID
|
||||
{ "usb_hid_cdc", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_USB_CONFIG, offsetof(usbDev_t, type) },
|
||||
#endif
|
||||
#ifdef USE_USB_MSC
|
||||
{ "usb_msc_pin_pullup", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_USB_CONFIG, offsetof(usbDev_t, mscButtonUsePullup) },
|
||||
#endif
|
||||
};
|
||||
|
||||
const uint16_t valueTableEntryCount = ARRAYLEN(valueTable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue