aboutsummaryrefslogtreecommitdiffstats
path: root/drv_st2205.c
diff options
context:
space:
mode:
Diffstat (limited to 'drv_st2205.c')
-rw-r--r--drv_st2205.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drv_st2205.c b/drv_st2205.c
index fbc6da1..ac758e0 100644
--- a/drv_st2205.c
+++ b/drv_st2205.c
@@ -1,4 +1,4 @@
-/* $Id: drv_st2205.c 980 2009-01-28 21:18:52Z michux $
+/* $Id: drv_st2205.c 1147 2011-07-27 02:20:51Z michael $
* $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_st2205.c $
*
* ST2205U-driven hacked picture frame driver.
@@ -142,8 +142,8 @@ static int drv_st2205_start2(const char *section)
fb = malloc(h->height * h->width * 3);
/* set width/height from st2205 firmware specs */
- DROWS = h->width;
- DCOLS = h->height;
+ DROWS = h->height;
+ DCOLS = h->width;
return 0;
}