avr: refactor SEND_VALUE message code.

This commit is contained in:
Martin Preuss
2024-09-05 18:52:25 +02:00
parent eec544d1b8
commit b94105bf78
5 changed files with 80 additions and 37 deletions

View File

@@ -481,7 +481,7 @@ SI7021_SendHumidity_haveValue:
SI7021_SendValue:
ldi xl, LOW(com2SendBuffer)
ldi xh, HIGH(com2SendBuffer)
rcall CPRO_WriteValue
rcall CPRO_WriteReportValue
rjmp COM2_SendPacket