1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-28 22:54:20 +01:00

Reindenting the ATmega168 bootloader file. It was a mess (and still is somewhat of one).

This commit is contained in:
David A. Mellis 2008-10-11 15:20:39 +00:00
parent 01ad4cc476
commit 5c857a5005

View File

@ -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 */
} }