Fixed indentation that triggered gcc warnings.

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

View File

@ -132,11 +132,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;
}