diff options
author | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2011-01-04 01:58:59 +0000 |
---|---|---|
committer | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2011-01-04 01:58:59 +0000 |
commit | f95cad51ea998c6febe30b9da74bd2852449d3c1 (patch) | |
tree | 10bcc5e293f387e1ba7bed22eb7fbd782b4c644e | |
parent | 0da867144a9cc418a2311efa816efcbdef7df70a (diff) | |
download | lcd4linux-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.c | 2 | ||||
-rw-r--r-- | 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; @@ -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; |