uart_hw2: basically works, but skips messages.

This commit is contained in:
Martin Preuss
2025-07-06 12:21:41 +02:00
parent fc5394a5c9
commit f930b846c2
5 changed files with 791 additions and 19 deletions

View File

@@ -466,7 +466,7 @@ comOnUart0StopRx:
; @clobbers R16
comOnUart0StartTx:
lds r16, UCSR0A
inr r16, UCSR0A
cbr r16, (1<<TXC0) ; clear TXCn interrupt
outr UCSR0A, r16
inr r16, UCSR0B
@@ -639,7 +639,7 @@ ComOnUart0_TxCharIsr:
; @clobbers none
ComOnUart0AttnChangeIsr:
ComOnUart0_AttnChangeIsr:
push r15
in r15, SREG
rcall ComOnUart0_HandleAttnChange