mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
No reason to init the board a second time
This commit is contained in:
parent
7c8cc94f5e
commit
c76c71cfce
@ -91,7 +91,6 @@ int main() {
|
||||
GO_dfu = (USB_connected == true) || (User_DFU_request == true);
|
||||
|
||||
if (GO_dfu == true) {
|
||||
PIOS_Board_Init();
|
||||
if (User_DFU_request == true)
|
||||
DeviceState = DFUidle;
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user