From 9bd3182bd5782ca73dbcb6495e9cc1dd20c042d1 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Sun, 1 Jun 2025 22:36:59 +0200 Subject: [PATCH] simplified timer and sleep setup code for AtTiny84. --- avr/devices/all/hw_tn84.asm | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/avr/devices/all/hw_tn84.asm b/avr/devices/all/hw_tn84.asm index b093245..dc48906 100644 --- a/avr/devices/all/hw_tn84.asm +++ b/avr/devices/all/hw_tn84.asm @@ -72,13 +72,14 @@ systemSleep: ; only modify SE, SM1 and SM0 cli in r16, MCUCR - ldi r17, (1<