aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2011-01-04 01:58:59 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2011-01-04 01:58:59 +0000
commitf95cad51ea998c6febe30b9da74bd2852449d3c1 (patch)
tree10bcc5e293f387e1ba7bed22eb7fbd782b4c644e
parent0da867144a9cc418a2311efa816efcbdef7df70a (diff)
downloadlcd4linux-f95cad51ea998c6febe30b9da74bd2852449d3c1.tar.gz
indentation
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1139 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r--drv_PICGraphic.c2
-rw-r--r--timer.c4
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;