avr: added apps and missing files.

This commit is contained in:
Martin Preuss
2025-05-01 00:53:29 +02:00
parent 7edaed601b
commit 8008819989
12 changed files with 296 additions and 6 deletions

15
avr/apps/motion/0BUILD Normal file
View File

@@ -0,0 +1,15 @@
<?xml?>
<gwbuild>
<subdirs>
</subdirs>
<extradist>
main.asm
</extradist>
</gwbuild>

View File

@@ -41,8 +41,9 @@ AppMotion_Init:
ldi yl, LOW(appMotionKeepupData)
ldi yh, HIGH(appMotionKeepupData)
rcall FilterKeepUp_Init
ldi r16, APP_MOTION_KEEPUPTIME
std Y+FILTER_KEEPUP_OFFS_RESTARTVALUE, r16
ldi r16, LOW(APP_MOTION_KEEPUPTIME)
ldi r17, HIGH(APP_MOTION_KEEPUPTIME)
rcall FilterKeepUp_SetRestartValue
ldi yl, LOW(appMotionValSchedData)
ldi yh, HIGH(appMotionValSchedData)
@@ -99,7 +100,7 @@ appMotionSendValue:
ldi r17, VALUE_ID_MOTION ; VALUE ID
ldi r22, AQHOME_VALUETYPE_MOTION ; VALUE TYPE
rjmp Main_Send8BitValue
rjmp Main_Send8BitValueReport
; @end