feat(ex01): should be done
This commit is contained in:
parent
8345043fac
commit
8d79cc7812
5 changed files with 43 additions and 26 deletions
|
|
@ -47,7 +47,7 @@ static inline void t2_overflow_interrupt(bool enable) {
|
|||
TIMSK2 &= ~_BV(TOIE2);
|
||||
}
|
||||
|
||||
static inline void t0_interrupt(enum e_timer_output output, bool enable) {
|
||||
static inline void t2_interrupt(enum e_timer_output output, bool enable) {
|
||||
if (output & TO_A) {
|
||||
if (enable)
|
||||
TIMSK2 |= _BV(OCIE2A);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue