summaryrefslogtreecommitdiff
path: root/board/discovery/gpio.inc
diff options
context:
space:
mode:
Diffstat (limited to 'board/discovery/gpio.inc')
-rw-r--r--board/discovery/gpio.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/discovery/gpio.inc b/board/discovery/gpio.inc
index 619b4396a0..92e835be54 100644
--- a/board/discovery/gpio.inc
+++ b/board/discovery/gpio.inc
@@ -5,7 +5,9 @@
* found in the LICENSE file.
*/
-/* Inputs with interrupt handlers are first for efficiency */
+/* Declare symbolic names for all the GPIOs that we care about.
+ * Note: Those with interrupt handlers must be declared first. */
+
GPIO_INT(USER_BUTTON, PIN(A, 0), GPIO_INT_BOTH, button_event)
/* Outputs */