Spieler splodiert.
[hackover2013-badge-firmware.git] / core / gpio / gpio.c
index fe80dbc..2f03e9a 100644 (file)
@@ -306,7 +306,7 @@ void gpioSetInterrupt (uint32_t portNum, uint32_t bitPos, gpioInterruptSense_t s
     *gpiois |= (0x1<<bitPos);
   }
 
-  event == gpioInterruptEvent_ActiveHigh ? (*gpioiev &= ~(0x1<<bitPos)) : (*gpioiev |= (0x1<<bitPos));
+  event == gpioInterruptEvent_ActiveLow ? (*gpioiev &= ~(0x1<<bitPos)) : (*gpioiev |= (0x1<<bitPos));
 
   return;
 }
This page took 0.020433 seconds and 4 git commands to generate.