aboutsummaryrefslogtreecommitdiffstats
path: root/drv_PICGraphic.c
diff options
context:
space:
mode:
authormzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-11-20 20:22:05 +0000
committermzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-11-20 20:22:05 +0000
commit20e4961f9eb3ea712a4d101d5984a6e0e68a23bd (patch)
treefa9ff8ccfcdcd2b207cf41bf6492652c22437f72 /drv_PICGraphic.c
parent4447e1d46ca5cdb1839c9ece0426fd26db1b2817 (diff)
downloadlcd4linux-20e4961f9eb3ea712a4d101d5984a6e0e68a23bd.tar.gz
started commenting the timer code
I'm not done yet, but my system is currently very unstable, and I don't want the changes to get lost... :( git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1134 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_PICGraphic.c')
-rw-r--r--drv_PICGraphic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drv_PICGraphic.c b/drv_PICGraphic.c
index 8586eb6..c33973d 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;