Skip to content

Commit

Permalink
Oops, forgot an & operator
Browse files Browse the repository at this point in the history
  • Loading branch information
SpenceKonde committed Nov 3, 2022
1 parent dd19590 commit 9e59f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megaavr/libraries/Event/src/Event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ event::gen::generator_t Event::gen_from_peripheral(TCA_t& timer, uint8_t event_t
uint8_t retval = -1;
if (event_type < 5) {
#if defined(TINY_0_OR_1_SERIES)
if (timer == &TCA0) {
if (&timer == &TCA0) {
retval = event_type +2;
}
#else
Expand Down

0 comments on commit 9e59f79

Please sign in to comment.