summaryrefslogtreecommitdiff
path: root/board/discovery-stm32f072/gpio.inc
diff options
context:
space:
mode:
Diffstat (limited to 'board/discovery-stm32f072/gpio.inc')
-rw-r--r--board/discovery-stm32f072/gpio.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/discovery-stm32f072/gpio.inc b/board/discovery-stm32f072/gpio.inc
index 14272dcadd..a6dbf063de 100644
--- a/board/discovery-stm32f072/gpio.inc
+++ b/board/discovery-stm32f072/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_FALLING, button_event)
/* Outputs */