diff options
author | reinelt <> | 2003-09-09 11:47:47 +0000 |
---|---|---|
committer | reinelt <> | 2003-09-09 11:47:47 +0000 |
commit | 180ab0b55a1cafe94cd17015402490821c448290 (patch) | |
tree | 4f5889fd2db8fcca917f6decbcfc30a55f14c74c /MatrixOrbital.c | |
parent | b1f5fffddaf31835515f88859f8a4670b6252deb (diff) | |
download | lcd4linux-180ab0b55a1cafe94cd17015402490821c448290.tar.gz |
[lcd4linux @ 2003-09-09 11:47:47 by reinelt]
basic icon support for HD44780
Diffstat (limited to 'MatrixOrbital.c')
-rw-r--r-- | MatrixOrbital.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/MatrixOrbital.c b/MatrixOrbital.c index 2c0a193..74cb3f7 100644 --- a/MatrixOrbital.c +++ b/MatrixOrbital.c @@ -1,4 +1,4 @@ -/* $Id: MatrixOrbital.c,v 1.37 2003/09/09 06:54:43 reinelt Exp $ +/* $Id: MatrixOrbital.c,v 1.38 2003/09/09 11:47:47 reinelt Exp $ * * driver for Matrix Orbital serial display modules * @@ -20,6 +20,9 @@ * * * $Log: MatrixOrbital.c,v $ + * Revision 1.38 2003/09/09 11:47:47 reinelt + * basic icon support for HD44780 + * * Revision 1.37 2003/09/09 06:54:43 reinelt * new function 'cfg_number()' * @@ -476,13 +479,9 @@ static int MO_flush (int protocol) for (row=0; row<Lcd.rows; row++) { for (col=0; col<Lcd.cols; col++) { c=bar_peek(row, col); + if (c==-1) c=icon_peek(row, col); if (c!=-1) { FrameBuffer1[row*Lcd.cols+col]=(char)c; - } else { - c=icon_peek(row, col); - if (c!=-1) { - FrameBuffer1[row*Lcd.cols+col]=(char)c; - } } } for (col=0; col<Lcd.cols; col++) { |