Skip to content

Commit

Permalink
Merge pull request #6435 from ks156/master
Browse files Browse the repository at this point in the history
cpu/lpc11u34: Bug with toggle function
  • Loading branch information
PeterKietzmann committed Jan 20, 2017
2 parents aab71bd + 9317c1a commit 5f26171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/lpc11u34/periph/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ void gpio_clear(gpio_t pin)

void gpio_toggle(gpio_t pin)
{
LPC_GPIO->CLR[port(pin)] = mask(pin);
LPC_GPIO->NOT[port(pin)] = mask(pin);
}

void gpio_write(gpio_t pin, int value)
Expand Down

0 comments on commit 5f26171

Please sign in to comment.