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:
parent
9515088a98
commit
ca67cf1990
20 changed files with 18 additions and 108 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue