diff --git a/avr/devices/all/handlevaluemsg.asm b/avr/devices/all/handlevaluemsg.asm index 1a56f9b..7b36b9e 100644 --- a/avr/devices/all/handlevaluemsg.asm +++ b/avr/devices/all/handlevaluemsg.asm @@ -75,7 +75,11 @@ Main_HandleValueMsg_sendAck: push r23 bigcall NETMSG_ValueRead pop r23 - bigcall Main_SendValueResponse ; (R16, R17, R18, R19, R20, R21, R23, R24, R25, X, Y) + push xl + push xh + bigcall Main_SendValueResponse ; (R16, R17, R18, R19, R20, R21, R23, R24, R25, X, Y) + pop xh + pop xl sec Main_HandleValueMsg_ret: ret