aboutsummaryrefslogtreecommitdiffstats
path: root/drv_PICGraphic.c
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-07-13 03:25:44 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-07-13 03:25:44 +0000
commita9ed07b8c5b516224e328305eb0f1290f8327ad0 (patch)
tree80b1c69b87ecd1a36feae2114be4ad62969e5b63 /drv_PICGraphic.c
parent6826450c8312ab13b52f13728dd4f6433e8f79fb (diff)
downloadlcd4linux-a9ed07b8c5b516224e328305eb0f1290f8327ad0.tar.gz
support for Sure Electronics's 1602 LCD Display Board with USB from Mikhail
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1126 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 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;