1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

Merge pull request #6435 from ks156/master

cpu/lpc11u34: Bug with toggle function
This commit is contained in:
Peter Kietzmann 2017-01-20 13:52:52 +01:00 committed by GitHub
commit 5f26171e83

View File

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