avr: added apps and missing files.
This commit is contained in:
15
avr/apps/motion/0BUILD
Normal file
15
avr/apps/motion/0BUILD
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml?>
|
||||
|
||||
<gwbuild>
|
||||
|
||||
<subdirs>
|
||||
</subdirs>
|
||||
|
||||
<extradist>
|
||||
main.asm
|
||||
</extradist>
|
||||
|
||||
|
||||
</gwbuild>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user