comproto: simplified some enqueue routines. Renamed i2c to twi.

- simplified CPRO_EnqueueComSendStats
- simplified CPRO_EnqueueValue
- renamed i2c to twi
This commit is contained in:
Martin Preuss
2023-02-05 15:37:36 +01:00
parent d4081840e0
commit 746cec2d45
2 changed files with 59 additions and 112 deletions

View File

@@ -397,7 +397,7 @@ TWI_Master_ScanNext_inc:
mov r2, r16
ldi r16, 255 ; send to all
push r15
rcall CPRO_EnqueueI2cBusMember
rcall CPRO_EnqueueTwiBusMember
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 CPRO_EnqueueI2cBusMember
; rcall CPRO_EnqueueTwiBusMember
; pop r15
rjmp TWI_Master_ScanNext_end
TWI_Master_ScanNext_abort: