We waited for inputs stabilization on all radios in 2.2

This commit is contained in:
Bertrand Songis
2019-12-02 09:35:49 +01:00
parent f099a0c44f
commit 4817a1404e
3 changed files with 0 additions and 5 deletions
@@ -210,14 +210,12 @@ int main()
pwrInit();
keysInit();
#if defined(BOOTLOADER_WAIT_BEFORE_READ_TRIMS)
// wait a bit for the inputs to stabilize...
if (!WAS_RESET_BY_WATCHDOG_OR_SOFTWARE()) {
for (uint32_t i = 0; i < 150000; i++) {
__ASM volatile ("nop");
}
}
#endif
// LHR & RHL trims not pressed simultanously
if (readTrims() != BOOTLOADER_KEYS) {