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