aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f1/include/series/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/stm32f1/include/series/gpio.h')
-rw-r--r--libmaple/stm32f1/include/series/gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmaple/stm32f1/include/series/gpio.h b/libmaple/stm32f1/include/series/gpio.h
index 2f96a08..aecf911 100644
--- a/libmaple/stm32f1/include/series/gpio.h
+++ b/libmaple/stm32f1/include/series/gpio.h
@@ -137,6 +137,7 @@ typedef enum gpio_pin_mode {
/* Hacks for F2: */
#define GPIO_MODE_ANALOG GPIO_INPUT_ANALOG
+#define GPIO_MODE_OUTPUT GPIO_OUTPUT_PP
/*
* AFIO register map