Fixed indentation that triggered gcc warnings.
This commit is contained in:
parent
d56fa15d3e
commit
f3e6fe1b80
12
actledPi.c
12
actledPi.c
@ -119,12 +119,12 @@ void led(int on) {
|
||||
if (current == on)
|
||||
return;
|
||||
|
||||
if (on) {
|
||||
fputs("255\n", actled);
|
||||
} else {
|
||||
fputs("0\n", actled);
|
||||
}
|
||||
fflush(actled);
|
||||
if (on) {
|
||||
fputs("255\n", actled);
|
||||
} else {
|
||||
fputs("0\n", actled);
|
||||
}
|
||||
fflush(actled);
|
||||
current = on;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user