1
0
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:
James Cotton 2012-05-30 09:50:05 -05:00
parent 7c8cc94f5e
commit c76c71cfce

View File

@ -91,7 +91,6 @@ int main() {
GO_dfu = (USB_connected == true) || (User_DFU_request == true); GO_dfu = (USB_connected == true) || (User_DFU_request == true);
if (GO_dfu == true) { if (GO_dfu == true) {
PIOS_Board_Init();
if (User_DFU_request == true) if (User_DFU_request == true)
DeviceState = DFUidle; DeviceState = DFUidle;
else else