1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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

cpu/lm4f120: remove unused _port_addr function in gpio.c
This commit is contained in:
Oleg Hahm 2016-03-21 11:00:41 +01:00
commit b46b9d9086

View File

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