From f3e6fe1b80181b6172c5ec5d452ea37b1b1957c0 Mon Sep 17 00:00:00 2001 From: Ragnar Jensen Date: Mon, 4 Dec 2017 21:22:50 +0100 Subject: [PATCH] Fixed indentation that triggered gcc warnings. --- actledPi.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/actledPi.c b/actledPi.c index 904f2d1..d90a0f8 100644 --- a/actledPi.c +++ b/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; }