mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Fixed USB disconnect (pull LOW for 200 ms)
This commit is contained in:
parent
9b6bb823b9
commit
d9cb02e310
1 changed files with 2 additions and 2 deletions
|
@ -68,10 +68,10 @@ void usbGenerateDisconnectPulse(void)
|
|||
IO_t usbPin = IOGetByTag(IO_TAG(PA12));
|
||||
IOConfigGPIO(usbPin, IOCFG_OUT_OD);
|
||||
|
||||
IOHi(usbPin);
|
||||
IOLo(usbPin);
|
||||
|
||||
delay(200);
|
||||
|
||||
IOLo(usbPin);
|
||||
IOHi(usbPin);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue