mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 11:59:58 +03:00
Merge pull request #6788 from jflyper/bfdev-usb-refactor-for-generic-target
Refactor USB toward generic target
This commit is contained in:
commit
adddd0976c
5 changed files with 20 additions and 16 deletions
|
@ -3840,6 +3840,9 @@ const cliResourceValue_t resourceTable[] = {
|
|||
DEFS( OWNER_RX_SPI_CS, PG_RX_SPI_CONFIG, rxSpiConfig_t, csnTag ),
|
||||
#endif
|
||||
DEFW( OWNER_GYRO_CS, PG_GYRO_DEVICE_CONFIG, gyroDeviceConfig_t, csnTag, 2 ),
|
||||
#ifdef USE_USB_DETECT
|
||||
DEFS( OWNER_USB_DETECT, PG_USB_CONFIG, usbDev_t, detectPin ),
|
||||
#endif
|
||||
};
|
||||
|
||||
#undef DEFS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue