]> git.webhop.me Git - lcd4linux.git/commitdiff
indentation
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Tue, 4 Jan 2011 01:58:59 +0000 (01:58 +0000)
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Tue, 4 Jan 2011 01:58:59 +0000 (01:58 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1139 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_PICGraphic.c
timer.c

index c33973da0363d787919c9658679807124785525d..8586eb60ed145209952052370c79d0293db1b041 100644 (file)
@@ -203,7 +203,7 @@ static void drv_PICGraphic_blit(const int row, const int col, const int height,
        delayDone = 0;
        int row8, height8;
        row8 = 8 * (row / 8);
-       height8 = 8 * (height / 8) + !!(height % 8);
+       height8 = 8 * (height / 8) + ! !(height % 8);
        info("sending blit");
        cmd[0] = 'b';
        cmd[1] = row8;
diff --git a/timer.c b/timer.c
index cb259ee2d4b6ccb884be48b26857764a5c3c3e21..5dbb379802fd7758d6cb85e8698b7b1050a0b5ff 100644 (file)
--- a/timer.c
+++ b/timer.c
@@ -372,7 +372,7 @@ int timer_process(struct timespec *delay)
        }
     }
 
-    int next_timer = -1;               /* ID of the next upcoming timer */
+    int next_timer = -1;       /* ID of the next upcoming timer */
 
     /* loop through the timer slots and try to find the next upcoming
        timer */
@@ -455,7 +455,7 @@ void timer_exit(void)
     /* reset number of allocated timer slots */
     nTimers = 0;
 
-       /* free memory used for storing the timer slots */
+    /* free memory used for storing the timer slots */
     if (Timers != NULL) {
        free(Timers);
        Timers = NULL;