1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 11:29:51 +03:00

remove busy loop from bootloader

This commit is contained in:
Raphael Coeffic 2019-08-16 22:45:51 +02:00
parent 06eed5d79f
commit 57c48de494

View file

@ -216,8 +216,6 @@ int main()
// wait a bit for the inputs to stabilize...
// ... otherwise the bootloader cannot be started
// when the power on delay is cut to 0.
for (int i=0; i<5000;i++)
readTrims();
// avoid booting after DFU bootloader
if (!pwrPressed()) {