aboutsummaryrefslogtreecommitdiffstats
path: root/MatrixOrbital.c
diff options
context:
space:
mode:
authorreinelt <>2000-03-17 09:21:42 +0000
committerreinelt <>2000-03-17 09:21:42 +0000
commit460091fb43bca600d3839eacfe43034146f3e957 (patch)
treeb272ca66f110226c95ebe528e2bfabfbe3139853 /MatrixOrbital.c
parentc97b6d95897c59e2098e45ee58aab61ec3703d22 (diff)
downloadlcd4linux-460091fb43bca600d3839eacfe43034146f3e957.tar.gz
[lcd4linux @ 2000-03-17 09:21:42 by reinelt]
various memory statistics added
Diffstat (limited to '')
-rw-r--r--MatrixOrbital.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/MatrixOrbital.c b/MatrixOrbital.c
index 510ae26..8e7a0c5 100644
--- a/MatrixOrbital.c
+++ b/MatrixOrbital.c
@@ -1,4 +1,4 @@
-/* $Id: MatrixOrbital.c,v 1.5 2000/03/13 15:58:24 reinelt Exp $
+/* $Id: MatrixOrbital.c,v 1.6 2000/03/17 09:21:42 reinelt Exp $
*
* driver for Matrix Orbital serial display modules
*
@@ -20,6 +20,10 @@
*
*
* $Log: MatrixOrbital.c,v $
+ * Revision 1.6 2000/03/17 09:21:42 reinelt
+ *
+ * various memory statistics added
+ *
* Revision 1.5 2000/03/13 15:58:24 reinelt
*
* release 0.9
@@ -30,7 +34,6 @@
*
* first unstable but running release
*
- *
*/
/*
@@ -246,7 +249,7 @@ static void MO_define_chars (void)
}
Segment[i].ascii=c;
buffer[2]=c;
- switch (Segment[i].type & (BAR_L | BAR_R | BAR_U | BAR_D)) {
+ switch (Segment[i].type) {
case BAR_L:
for (j=0; j<4; j++) {
char Pixel[] = { 0, 1, 3, 7, 15, 31 };
@@ -360,7 +363,7 @@ int MO_bar (int type, int row, int col, int max, int len1, int len2)
if (len2<1) len2=1;
else if (len2>max) len2=max;
- switch (type & (BAR_L | BAR_R | BAR_U | BAR_D)) {
+ switch (type) {
case BAR_L:
len1=max-len1;
len2=max-len2;