Fixed indentation that triggered gcc warnings.
This commit is contained in:
parent
f3e6fe1b80
commit
16ed801e65
10
hddledPi.c
10
hddledPi.c
@ -124,11 +124,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