avr: refactor SEND_VALUE message code.
This commit is contained in:
@@ -174,7 +174,7 @@ CNY70_SendAdc_haveValue:
|
||||
clr r21
|
||||
ldi xl, LOW(com2SendBuffer)
|
||||
ldi xh, HIGH(com2SendBuffer)
|
||||
rcall CPRO_WriteValue
|
||||
rcall CPRO_WriteReportValue
|
||||
rjmp COM2_SendPacket
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user