Reduce Bootloader Size

changing few uint16 variables to uint8
This commit is contained in:
ToSa27
2014-09-28 23:43:28 +02:00
parent f71ed97aaa
commit 7a304a0523
3 changed files with 205 additions and 208 deletions
+2 -2
View File
@@ -56,9 +56,9 @@ static uint8_t sendAndWait(uint8_t reqType, uint8_t resType) {
msg.type = reqType;
for (uint8_t i = 0; i < 10; i++) {
sendWrite(msg);
for (uint16_t j = 0; j < 20; j++) {
for (uint8_t j = 0; j < 20; j++) {
wdt_reset();
for (uint16_t j = 0; j < 100; j++) {
for (uint8_t j = 0; j < 100; j++) {
wdt_reset();
uint8_t pipe;
boolean avail = available(&pipe);