From 9e6feecb885550c6d2d13cb3d13c485c506ecbf2 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Wed, 28 May 2025 00:50:26 +0200 Subject: [PATCH] bootloader: decreased waiting times for LED blinking on bootup. --- avr/modules/bootloader/main.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/avr/modules/bootloader/main.asm b/avr/modules/bootloader/main.asm index 6f8dfb0..6bdf87a 100644 --- a/avr/modules/bootloader/main.asm +++ b/avr/modules/bootloader/main.asm @@ -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