aboutsummaryrefslogtreecommitdiffstats
path: root/drv_st2205.c
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2011-07-27 02:20:51 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2011-07-27 02:20:51 +0000
commit0fe9009287dfe71ba74df0793b874fd47a2df525 (patch)
tree0a42683194af74684dfb33b74cbee47a35662386 /drv_st2205.c
parentf86dd50a614e0666e2c61331bee684d1a519562b (diff)
downloadlcd4linux-0fe9009287dfe71ba74df0793b874fd47a2df525.tar.gz
st2205-width-height-swap.patch from Hans de Goede
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1147 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_st2205.c')
-rw-r--r--drv_st2205.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drv_st2205.c b/drv_st2205.c
index f352381..de1c29b 100644
--- a/drv_st2205.c
+++ b/drv_st2205.c
@@ -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;
}