mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-20 06:45:08 +03:00
Bootloader MAC fixes from Mike
This commit is contained in:
parent
a72df4ca16
commit
30111d9299
6 changed files with 73 additions and 6 deletions
|
@ -715,8 +715,11 @@ int main()
|
|||
|
||||
uint8_t event = getEvent();
|
||||
|
||||
if (usbPlugged()) {
|
||||
state = ST_USB;
|
||||
if (state != ST_USB) {
|
||||
if (usbPlugged()) {
|
||||
state = ST_USB;
|
||||
usbPluggedIn();
|
||||
}
|
||||
}
|
||||
|
||||
if (state == ST_START) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue