mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
remove busy loop from bootloader
This commit is contained in:
parent
06eed5d79f
commit
57c48de494
1 changed files with 0 additions and 2 deletions
|
@ -216,8 +216,6 @@ int main()
|
||||||
// wait a bit for the inputs to stabilize...
|
// wait a bit for the inputs to stabilize...
|
||||||
// ... otherwise the bootloader cannot be started
|
// ... otherwise the bootloader cannot be started
|
||||||
// when the power on delay is cut to 0.
|
// when the power on delay is cut to 0.
|
||||||
for (int i=0; i<5000;i++)
|
|
||||||
readTrims();
|
|
||||||
|
|
||||||
// avoid booting after DFU bootloader
|
// avoid booting after DFU bootloader
|
||||||
if (!pwrPressed()) {
|
if (!pwrPressed()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue