Make UsbCommand_JumpToModuleBootloader() more robust by not making it dependent on the state of the module driver.

This commit is contained in:
László Monda
2017-12-13 01:27:04 +01:00
parent a52df9da7e
commit 6a54944cb1
4 changed files with 10 additions and 17 deletions
+1 -2
View File
@@ -49,9 +49,9 @@
UhkModulePhase_ProcessKeystates,
// Misc phases
UhkModulePhase_JumpToBootloader,
UhkModulePhase_SetTestLed,
UhkModulePhase_SetLedPwmBrightness,
UhkModulePhase_JumpToBootloader,
} uhk_module_phase_t;
@@ -70,7 +70,6 @@
uint8_t firmwareI2cAddress;
uint8_t bootloaderI2cAddress;
uhk_module_features_t features;
bool jumpToBootloader;
} uhk_module_state_t;
typedef struct {