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
+3 -2
View File
@@ -32,8 +32,9 @@ static void delayu() {
asm("nop");
}
static void delaym(uint16_t t) {
uint16_t d, a;
static void delaym(uint8_t t) {
uint8_t d;
uint16_t a;
for (d = 0; d < t; d++)
for (a = 0; a < DELAY_M; a++)
asm("nop");