From 23ea7ee46387cdb322265d6307aa7f0fce18bcf0 Mon Sep 17 00:00:00 2001 From: Allen Hill Date: Mon, 21 Aug 2023 20:09:46 -0400 Subject: [PATCH] Adjust for difference between GNU avr-libc IO headers and Atmel IO headers --- src/avclandrv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/avclandrv.c b/src/avclandrv.c index 010badf..1493f8c 100644 --- a/src/avclandrv.c +++ b/src/avclandrv.c @@ -224,7 +224,7 @@ void set_AVC_logic_for(uint8_t val, uint16_t period) { AVC_SET_LOGICAL_0(); } TCB1.CCMP = period; - EVSYS.ASYNCSTROBE = EVSYS_ASYNCCH00_bm; + EVSYS.ASYNCSTROBE = EVSYS_ASYNCCH0_0_bm; loop_until_bit_is_set(TCB1_INTFLAGS, 0); TCB1_INTFLAGS = 1; }