aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}