aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-03-17 09:21:42 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-03-17 09:21:42 +0000
commitdb5e3666b5a2e9d3e35ada41ebf0a1a2e0897e53 (patch)
treeb272ca66f110226c95ebe528e2bfabfbe3139853 /display.c
parent1f0791dbac416903409b420ce5bdd73a1944c3d4 (diff)
downloadlcd4linux-db5e3666b5a2e9d3e35ada41ebf0a1a2e0897e53.tar.gz
[lcd4linux @ 2000-03-17 09:21:42 by reinelt]
various memory statistics added git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@11 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'display.c')
-rw-r--r--display.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/display.c b/display.c
index e00f791..f7c5870 100644
--- a/display.c
+++ b/display.c
@@ -1,4 +1,4 @@
-/* $Id: display.c,v 1.5 2000/03/13 15:58:24 reinelt Exp $
+/* $Id: display.c,v 1.6 2000/03/17 09:21:42 reinelt Exp $
*
* framework for device drivers
*
@@ -20,6 +20,10 @@
*
*
* $Log: display.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
@@ -127,11 +131,10 @@ int lcd_bar (int type, int row, int col, int max, int len1, int len2)
if (col<1 || col>Display->cols) return -1;
if (!(type & (BAR_H2 | BAR_V2))) len2=len1;
if (type & BAR_LOG) {
- type &= ~BAR_LOG;
len1=(double)max*log(len1+1)/log(max);
len2=(double)max*log(len2+1)/log(max);
}
- return Display->bar(type, row-1, col-1, max, len1, len2);
+ return Display->bar (type & BAR_HV, row-1, col-1, max, len1, len2);
}
int lcd_flush (void)