From 6c3926c1e4b012b4d47d5af856f391871e4c7e20 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Tue, 19 Aug 2025 23:36:58 +0200 Subject: [PATCH] avr: added a note regarding timing. --- avr/modules/com2w/com2w.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avr/modules/com2w/com2w.asm b/avr/modules/com2w/com2w.asm index 56988d3..6b21a92 100644 --- a/avr/modules/com2w/com2w.asm +++ b/avr/modules/com2w/com2w.asm @@ -324,7 +324,7 @@ com2wSendByte_send1: rcall com2wDataSetHigh com2wSendByte_sent: Utils_WaitNanoSecs 5000, 0, r22 ; wait for very short time to ensure data is stable when clock rises - push r15 + push r15 ; TODO: check this (doesn't really ensure short HIGH time!) in r15, SREG cli ; ensure time period by disabling irqs rcall com2wClkSetHigh