aboutsummaryrefslogtreecommitdiffstats
path: root/src/samd21/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/samd21/internal.h')
-rw-r--r--src/samd21/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/samd21/internal.h b/src/samd21/internal.h
index b03fae30..7043007f 100644
--- a/src/samd21/internal.h
+++ b/src/samd21/internal.h
@@ -9,6 +9,6 @@
#define GPIO2BIT(PIN) (1<<((PIN) % 32))
void enable_pclock(uint32_t clock_id, uint32_t pmask);
-void gpio_peripheral(uint32_t gpio, char ptype, uint32_t pull_up);
+void gpio_peripheral(uint32_t gpio, char ptype, int32_t pull_up);
#endif // internal.h