1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Added USB disconnect pulse for F4 / F7.

This commit is contained in:
mikeller 2017-02-19 16:18:55 +13:00 committed by Dominic Clifton
parent 9515088a98
commit ca67cf1990
20 changed files with 18 additions and 108 deletions

View file

@ -20,7 +20,7 @@
#include "platform.h"
#ifdef USB_IO
#ifdef USE_VCP
#include "io.h"
#include "system.h"
@ -28,7 +28,6 @@
#include "sdcard.h"
#ifdef USB_DETECT_PIN
static IO_t usbDetectPin = IO_NONE;
#endif
@ -75,5 +74,4 @@ void usbGenerateDisconnectPulse(void)
IOLo(usbPin);
}
#endif