Fixed indentation that triggered gcc warnings.
This commit is contained in:
parent
16ed801e65
commit
bca55dfa8c
10
netledPi.c
10
netledPi.c
@ -132,11 +132,11 @@ void led(int on) {
|
||||
if (current == on)
|
||||
return;
|
||||
|
||||
if (on) {
|
||||
digitalWrite (o_gpiopin, HIGH);
|
||||
} else {
|
||||
digitalWrite (o_gpiopin, LOW);
|
||||
}
|
||||
if (on) {
|
||||
digitalWrite (o_gpiopin, HIGH);
|
||||
} else {
|
||||
digitalWrite (o_gpiopin, LOW);
|
||||
}
|
||||
|
||||
current = on;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user