1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 11:29:58 +03:00

Add Composite CDC+HID device option. (#5478)

* Add Composite CDC+HID device option.

- It passes on though HID interface 8 channels received from TX
- Endpoints are reconfigured to support HID interface
- Potentially this can slow down SPI Flash transfer though CDC interface...
- This could be addressed by support for MSC when using SPI Flash (emulating FATFS)

* Different way to handle MIN redefine
This commit is contained in:
conkerkh 2018-03-22 03:21:22 +01:00 committed by Michael Keller
parent b2e807be6c
commit 4786e1a333
11 changed files with 1209 additions and 7 deletions

View file

@ -174,7 +174,9 @@
#define HCCHAR_BULK 2
#define HCCHAR_INTR 3
#ifndef MIN
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif
/**
* @}