diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-12-25 11:19:30 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-01-07 19:30:17 -0500 |
commit | 7707d5a74e5dc13c07fa637447e00be30cca582b (patch) | |
tree | 5d047fc7a2e6df01ad42c28c6a5b96183d41fef5 /src/sam4e8e/internal.h | |
parent | f0715de0049b238b4bbcb0389fe5848fd271118e (diff) | |
download | kutter-7707d5a74e5dc13c07fa637447e00be30cca582b.tar.gz kutter-7707d5a74e5dc13c07fa637447e00be30cca582b.tar.xz kutter-7707d5a74e5dc13c07fa637447e00be30cca582b.zip |
sam4e8e: Rename gpio_set_peripheral() to gpio_peripheral()
Use the same definition for gpio_peripheral() that the sam3x8e code
uses.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/sam4e8e/internal.h')
-rw-r--r-- | src/sam4e8e/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sam4e8e/internal.h b/src/sam4e8e/internal.h index 2cd3f78f..cf0e0f81 100644 --- a/src/sam4e8e/internal.h +++ b/src/sam4e8e/internal.h @@ -8,6 +8,6 @@ #define GPIO2PORT(PIN) ((PIN) / 32) #define GPIO2BIT(PIN) (1<<((PIN) % 32)) -void gpio_set_peripheral(char bank, uint32_t bit, char ptype, uint32_t pull_up); +void gpio_peripheral(uint32_t gpio, char ptype, int32_t pull_up); #endif // internal.h |