[riot-commits] [RIOT-OS/RIOT] 1f98e0: samd21/gpio: check if interrupt is enabled in isr, ...

Thomas Eichinger thomas.eichinger1 at gmail.com
Fri Oct 16 14:13:13 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 1f98e069567a2f47827d9e9d47dde4ffa702a81b
      https://github.com/RIOT-OS/RIOT/commit/1f98e069567a2f47827d9e9d47dde4ffa702a81b
  Author: daniel-k <github at daniel-krebs.net>
  Date:   2015-10-15 (Thu, 15 Oct 2015)

  Changed paths:
    M cpu/samd21/periph/gpio.c

  Log Message:
  -----------
  samd21/gpio: check if interrupt is enabled in isr, fixes #4087

The interrupt flag for a previously configured external gpio interrupt
will be set regardless of the actual configuration. So when another source
causes an interrupt, the callback of a disabled gpio interrupt will be serviced
although it was disabled if the interrupt occured in the meantime.


  Commit: c652fd8d6c197fc7b0801e0cd6474900c1a33004
      https://github.com/RIOT-OS/RIOT/commit/c652fd8d6c197fc7b0801e0cd6474900c1a33004
  Author: Thomas Eichinger <thomas.eichinger1 at gmail.com>
  Date:   2015-10-16 (Fri, 16 Oct 2015)

  Changed paths:
    M cpu/samd21/periph/gpio.c

  Log Message:
  -----------
  Merge pull request #4098 from daniel-k/pr/samd21_gpio_irq

samd21/gpio: check if interrupt is enabled in isr, fixes #4087


Compare: https://github.com/RIOT-OS/RIOT/compare/64a1cdae7a3b...c652fd8d6c19


More information about the commits mailing list