Fixed indentation that triggered gcc warnings.

This commit is contained in:
Ragnar Jensen 2017-12-04 21:23:56 +01:00 committed by GitHub
parent f3e6fe1b80
commit 16ed801e65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

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