bootloader: decreased waiting times for LED blinking on bootup.

This commit is contained in:
Martin Preuss
2025-05-28 00:50:26 +02:00
parent baf77ed182
commit 9e6feecb88

View File

@@ -55,7 +55,7 @@ bootLoader:
sbi LED_DDR, LED_PINNUM ; out
sbi LED_PORT, LED_PINNUM ; off
ldi r19, 20 ; loop count
ldi r19, 10 ; loop count
ldi r20, 2 ; on time
ldi r21, 2 ; off time
rcall bootLoaderBlinkLed
@@ -66,13 +66,13 @@ bootLoader:
brcc bootLoader_waitAndRestartBootLoader
; try to start firmware
bootLoader_startFirmware:
ldi r19, 10 ; loop count
ldi r19, 6 ; loop count
ldi r20, 4 ; on time
ldi r21, 1 ; off time
rcall bootLoaderBlinkLed
rjmp firmwareStart
bootLoader_waitAndRestartBootLoader:
ldi r19, 5 ; loop count
ldi r19, 3 ; loop count
ldi r20, 1 ; on time
ldi r21, 8 ; off time
rcall bootLoaderBlinkLed