From: michael Date: Wed, 27 Jul 2011 02:20:51 +0000 (+0000) Subject: st2205-width-height-swap.patch from Hans de Goede X-Git-Tag: svn1203~56 X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=0fe9009287dfe71ba74df0793b874fd47a2df525;p=lcd4linux.git 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 --- 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; }