summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'watch-library/watch/watch_gpio.c')
-rw-r--r--watch-library/watch/watch_gpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/watch-library/watch/watch_gpio.c b/watch-library/watch/watch_gpio.c
index a9bc139d..b37d009f 100644
--- a/watch-library/watch/watch_gpio.c
+++ b/watch-library/watch/watch_gpio.c
@@ -22,6 +22,8 @@
* SOFTWARE.
*/
+#include "watch_gpio.h"
+
void watch_enable_digital_input(const uint8_t pin) {
gpio_set_pin_direction(pin, GPIO_DIRECTION_IN);
gpio_set_pin_function(pin, GPIO_PIN_FUNCTION_OFF);