Skip to content
Snippets Groups Projects
Commit b46b9d90 authored by Oleg Hahm's avatar Oleg Hahm
Browse files

Merge pull request #5120 from gebart/pr/lm4f-gpio-unused-port-addr

cpu/lm4f120: remove unused _port_addr function in gpio.c
parents 4fad0394 169fa2ec
No related branches found
No related tags found
No related merge requests found
......@@ -92,14 +92,6 @@ typedef struct {
static gpio_state_t gpio_config[NUM_OF_PORT][NUM_OF_PINS];
static inline uint16_t _port_addr(gpio_t pin)
{
const uint8_t port_num = _port_num(pin);
const uint32_t port_addr = _port_base[port_num];
return port_addr;
}
int gpio_init(gpio_t pin, gpio_mode_t mode)
{
const uint8_t port_num = _port_num(pin);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment