]> git.webhop.me Git - lcd4linux.git/commitdiff
st2205-width-height-swap.patch from Hans de Goede
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Wed, 27 Jul 2011 02:20:51 +0000 (02:20 +0000)
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Wed, 27 Jul 2011 02:20:51 +0000 (02:20 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1147 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_st2205.c

index f352381f43639f160207da3030f7d657e62c9377..de1c29b3e90ab80c41604776adbf5fd6a41d9d2e 100644 (file)
@@ -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;
 }