mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-05 13:16:13 +03:00
Reindenting the ATmega168 bootloader file. It was a mess (and still is somewhat of one).
This commit is contained in:
@@ -751,7 +751,6 @@ int main(void)
|
|||||||
LED_PORT |= _BV(LED);
|
LED_PORT |= _BV(LED);
|
||||||
putch('0');
|
putch('0');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* read byte from address */
|
/* read byte from address */
|
||||||
@@ -772,7 +771,6 @@ int main(void)
|
|||||||
ch = getch(); putch(ch);
|
ch = getch(); putch(ch);
|
||||||
ch = gethex();
|
ch = gethex();
|
||||||
*(uint8_t *)((addrh << 8) + addrl) = ch;
|
*(uint8_t *)((addrh << 8) + addrl) = ch;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* read from uart and echo back */
|
/* read from uart and echo back */
|
||||||
@@ -804,8 +802,7 @@ int main(void)
|
|||||||
app_start();
|
app_start();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
} /* end of monitor functions */
|
||||||
/* end of monitor functions */
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -815,8 +812,7 @@ int main(void)
|
|||||||
else if (++error_count == MAX_ERROR_COUNT) {
|
else if (++error_count == MAX_ERROR_COUNT) {
|
||||||
app_start();
|
app_start();
|
||||||
}
|
}
|
||||||
}
|
} /* end of forever loop */
|
||||||
/* end of forever loop */
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user