mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
Added back checks on USB cable so falls back to serial telemetry if not plugged in
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1167 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
27bcd20882
commit
3144e3157c
@ -18,6 +18,7 @@
|
|||||||
#include "usb_lib.h"
|
#include "usb_lib.h"
|
||||||
#include "usb_conf.h"
|
#include "usb_conf.h"
|
||||||
#include "pios_usb_hid_pwr.h"
|
#include "pios_usb_hid_pwr.h"
|
||||||
|
#include "pios_usb_hid.h"
|
||||||
|
|
||||||
/* Private typedef -----------------------------------------------------------*/
|
/* Private typedef -----------------------------------------------------------*/
|
||||||
/* Private define ------------------------------------------------------------*/
|
/* Private define ------------------------------------------------------------*/
|
||||||
@ -46,7 +47,7 @@ struct
|
|||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
void USB_Cable_Config (FunctionalState NewState)
|
void USB_Cable_Config (FunctionalState NewState)
|
||||||
{
|
{
|
||||||
|
PIOS_USB_HID_ChangeConnectionState(NewState);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user