mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
usb: make USB usage depend on PiOS config
USB is not supported on sim platforms. Let PiOS config determine when we use it.
This commit is contained in:
parent
c97b108a1f
commit
0575b45378
@ -35,7 +35,6 @@
|
||||
#include "flighttelemetrystats.h"
|
||||
#include "gcstelemetrystats.h"
|
||||
#include "hwsettings.h"
|
||||
#include "pios_usb.h" /* PIOS_USB_* */
|
||||
|
||||
// Private constants
|
||||
#define MAX_QUEUE_SIZE TELEM_QUEUE_SIZE
|
||||
|
@ -137,6 +137,7 @@
|
||||
#if defined(PIOS_INCLUDE_USB)
|
||||
/* USB Libs */
|
||||
#include <usb_lib.h>
|
||||
#include <pios_usb.h>
|
||||
#endif
|
||||
|
||||
#include <pios_crc.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user