Skip to content
Snippets Groups Projects
Commit 169fa2ec authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

cpu/lm4f120: remove unused _port_addr function in gpio.c

parent 5ecbcca0
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