1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-19 22:35:10 +03:00

Checks bootloader size not greater than 32k. Bug fixes.

This commit is contained in:
bsongis 2014-03-17 17:32:14 +01:00
parent 8bc28248e0
commit f907abb730
3 changed files with 6 additions and 6 deletions

View file

@ -699,8 +699,6 @@ int main()
for (;;) {
wdt_reset();
uint8_t event = getEvent();
if (Tenms) {
wdt_reset(); // Retrigger hardware watchdog
@ -718,6 +716,8 @@ int main()
lcd_putsLeft(0, BOOTLOADER_TITLE);
lcd_hline(0, 10, LCD_W);
uint8_t event = getEvent();
if (usbPlugged()) {
state = ST_USB;
}