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)
|
if (current == on)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (on) {
|
if (on) {
|
||||||
fputs("255\n", actled);
|
fputs("255\n", actled);
|
||||||
} else {
|
} else {
|
||||||
fputs("0\n", actled);
|
fputs("0\n", actled);
|
||||||
}
|
}
|
||||||
fflush(actled);
|
fflush(actled);
|
||||||
current = on;
|
current = on;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user