[riot-notifications] [RIOT-OS/RIOT] cpu/sam0_common/../rtt: correcly clear flags. (#12188)

Dylan Laduranty notifications at github.com
Tue Sep 10 16:30:02 CEST 2019


dylad requested changes on this pull request.

Nice cleanup !
One last change remaining and I will test on SAML21 and SAML1X tonight or tomorrow.

>          if (_overflow_cb) {
             _overflow_cb(_overflow_arg);
         }
     }
     if (RTC->MODE0.INTFLAG.bit.CMP0) {
         /* clear flag */
-        RTC->MODE0.INTFLAG.reg |= RTC_MODE0_INTFLAG_CMP0;
+        RTC->MODE0.INTFLAG.reg = RTC_MODE0_INTFLAG_CMP0;
         /* disable interrupt */
         RTC->MODE0.INTENCLR.bit.CMP0 = 1;

I think this one is missing

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12188#pullrequestreview-286194709
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190910/23e4074e/attachment.htm>


More information about the notifications mailing list