[riot-notifications] [RIOT-OS/RIOT] GPIO interrupt fixes for atmega328p (#7590)

lebrush notifications at github.com
Wed Sep 13 09:41:25 CEST 2017


lebrush commented on this pull request.



> -            break;
-        case GPIO_FALLING:
-            if (pin_num < 4) {
-                EICRA |= (2 << pin_num * 2);
-            }
-#if defined(EICRB)
-            else {
-                EICRB |= (2 << (pin_num * 2) % 4);
-            }
-#endif
-            break;
-        case GPIO_BOTH:
-            if (pin_num < 4) {
-                EICRA |= (1 << pin_num * 2);
-            }
+    if (flank > 3) {

Guilty :-P. Will fix :+1: 

-- 
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/7590#discussion_r138545233
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20170913/db4da059/attachment.html>


More information about the notifications mailing list