Moved protocol stuff into comproto.asm.

This commit is contained in:
Martin Preuss
2023-02-04 00:56:29 +01:00
parent 2f4fbf8598
commit 5b15b5ef9f
4 changed files with 395 additions and 318 deletions

View File

@@ -397,7 +397,7 @@ TWI_Master_ScanNext_inc:
mov r2, r16
ldi r16, 255 ; send to all
push r15
rcall COM_EnqueueI2cBusMember
rcall CPRO_EnqueueI2cBusMember
pop r15
rjmp TWI_Master_ScanNext_end
TWI_Master_ScanNext_noAnswer:
@@ -406,7 +406,7 @@ TWI_Master_ScanNext_noAnswer:
; clr r2
; ldi r16, 255 ; send to all
; push r15
; rcall COM_EnqueueI2cBusMember
; rcall CPRO_EnqueueI2cBusMember
; pop r15
rjmp TWI_Master_ScanNext_end
TWI_Master_ScanNext_abort: