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:
commit
5f26171e83
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user