From 9647922aa1f9d2b3fa1e8eb8693511cd7cbb6db6 Mon Sep 17 00:00:00 2001 From: mrwastl Date: Thu, 13 Oct 2011 10:05:09 +0200 Subject: t6963c: bug fix --- glcddrivers/t6963c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glcddrivers/t6963c.c b/glcddrivers/t6963c.c index 671d4f3..aec2585 100644 --- a/glcddrivers/t6963c.c +++ b/glcddrivers/t6963c.c @@ -387,6 +387,7 @@ void cDriverT6963C::SetPixel(int x, int y, uint32_t data) { x = width - 1 - x; y = height - 1 - y; + } else { pos = 5 - pos; // reverse bit position } @@ -406,6 +407,7 @@ void cDriverT6963C::SetPixel(int x, int y, uint32_t data) { x = width - 1 - x; y = height - 1 - y; + } else { pos = 7 - pos; // reverse bit position } -- cgit v1.2.3