1
0
Fork 0
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:
Michael Keller 2018-03-27 01:04:59 +13:00 committed by GitHub
parent 605962d9a5
commit 83e614c139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 99 additions and 69 deletions

View file

@ -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);