1
0
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:
Stacey Sheldon 2012-01-15 17:58:09 -05:00
parent c97b108a1f
commit 0575b45378
2 changed files with 1 additions and 1 deletions

View File

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

View File

@ -137,6 +137,7 @@
#if defined(PIOS_INCLUDE_USB)
/* USB Libs */
#include <usb_lib.h>
#include <pios_usb.h>
#endif
#include <pios_crc.h>