Fixed indentation that triggered gcc warnings.

This commit is contained in:
Ragnar Jensen 2017-12-04 21:22:50 +01:00 committed by GitHub
parent d56fa15d3e
commit f3e6fe1b80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}