avr: fixed UID generation (bad code order).

This commit is contained in:
Martin Preuss
2025-02-09 21:05:24 +01:00
parent 224a5f336a
commit a36639ed8c

View File

@@ -33,6 +33,7 @@ main:
; rcall watchdogOff ; turn off watchdog timer (sometimes it stays on after reboot) ; rcall watchdogOff ; turn off watchdog timer (sometimes it stays on after reboot)
rcall systemSetSpeed rcall systemSetSpeed
rcall Utils_Init
rcall Utils_SetupUid rcall Utils_SetupUid
rcall initModules rcall initModules
rcall initialWait rcall initialWait
@@ -89,7 +90,7 @@ main_loop:
; USED: depending on called routines ; USED: depending on called routines
initModules: initModules:
rcall Utils_Init ; rcall Utils_Init
rcall BaseTimer_Init ; unconditionally call this rcall BaseTimer_Init ; unconditionally call this
#ifdef MODULES_TIMER #ifdef MODULES_TIMER