samd21: Fix gpio in support

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-11-30 22:36:18 -05:00
parent e505ab0df1
commit 6df7356baa
2 changed files with 18 additions and 3 deletions

View File

@@ -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