From f95cad51ea998c6febe30b9da74bd2852449d3c1 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 4 Jan 2011 01:58:59 +0000 Subject: indentation git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1139 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drv_PICGraphic.c | 2 +- timer.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drv_PICGraphic.c b/drv_PICGraphic.c index c33973d..8586eb6 100644 --- a/drv_PICGraphic.c +++ b/drv_PICGraphic.c @@ -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 cb259ee..5dbb379 100644 --- 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; -- cgit v1.2.3