diff --git a/peripherals/evsys.c b/peripherals/evsys.c index 03700ac..bbcd0c1 100644 --- a/peripherals/evsys.c +++ b/peripherals/evsys.c @@ -28,7 +28,7 @@ #include "evsys.h" void evsys_configure_channel(uint8_t channel, uint8_t generator, uint8_t user, bool run_in_standby, bool asynchronous) { -#if defined(_SAMD21_) || defined(_SAMD11_) +#if defined(_SAMD11_) || defined(_SAMD21_) || defined(_SAMD51_) // TODO: these devices have a different way of configuring events #else EVSYS->USER[user].reg = EVSYS_USER_CHANNEL(channel + 1);