avr: more code sharing.
This commit is contained in:
@@ -34,7 +34,7 @@ main:
|
||||
|
||||
bigcall systemSetSpeed
|
||||
bigcall systemInitHardware
|
||||
bigcall Utils_Init
|
||||
bigcall RAND_SetupSeed
|
||||
bigcall Utils_SetupUid
|
||||
bigcall modulesInit
|
||||
bigcall appsInit
|
||||
@@ -43,16 +43,6 @@ main:
|
||||
|
||||
bigcall onSystemStart
|
||||
|
||||
#ifdef MODULES_LED
|
||||
ldi xl, LOW(blinkPattern) ; debug: set blink pattern
|
||||
ldi xh, HIGH(blinkPattern)
|
||||
ldi zl, LOW(ledA3Flash)
|
||||
ldi zh, HIGH(ledA3Flash)
|
||||
ldi yl, LOW(ledA3Sram)
|
||||
ldi yh, HIGH(ledA3Sram)
|
||||
rcall Led_SetPattern
|
||||
#endif
|
||||
|
||||
main_loop:
|
||||
bigcall systemSleep ; system-dependant
|
||||
|
||||
|
||||
Reference in New Issue
Block a user