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)
|
if (current == on)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (on) {
|
if (on) {
|
||||||
digitalWrite (o_gpiopin, HIGH);
|
digitalWrite (o_gpiopin, HIGH);
|
||||||
} else {
|
} else {
|
||||||
digitalWrite (o_gpiopin, LOW);
|
digitalWrite (o_gpiopin, LOW);
|
||||||
}
|
}
|
||||||
|
|
||||||
current = on;
|
current = on;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user