mirror of
https://github.com/halleysfifthinc/Toyota-AVC-LAN
synced 2025-06-07 16:06:12 +00:00
Adjust for difference between GNU avr-libc IO headers and Atmel IO headers
This commit is contained in:
parent
5559f38a51
commit
23ea7ee463
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user