diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-04-15 08:16:28 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-04-15 08:16:28 -0400 |
commit | ff08841ea91aad389dea607e39d13e2f61fa65eb (patch) | |
tree | b7ab10527fd4d2d4f0f1e9cace870baed0dcfb1c | |
parent | d56d96031c42a68fa38e7b12bf028ee6d2eb3ef3 (diff) | |
download | rockbox-ff08841ea91aad389dea607e39d13e2f61fa65eb.tar.gz rockbox-ff08841ea91aad389dea607e39d13e2f61fa65eb.zip |
viewport FIX RED remote screens
Change-Id: I894a5c3e9053f44dee4803e9cdbbcb8f651ee318
-rw-r--r-- | firmware/drivers/lcd-bitmap-common.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c index 4fe095096f..c85d16cb70 100644 --- a/firmware/drivers/lcd-bitmap-common.c +++ b/firmware/drivers/lcd-bitmap-common.c | |||
@@ -182,7 +182,9 @@ void LCDFN(update_viewport)(void) | |||
182 | struct viewport* vp = LCDFN(current_viewport); | 182 | struct viewport* vp = LCDFN(current_viewport); |
183 | if ((vp->flags & VP_FLAG_OWNER_UPDATE) == VP_FLAG_OWNER_UPDATE) | 183 | if ((vp->flags & VP_FLAG_OWNER_UPDATE) == VP_FLAG_OWNER_UPDATE) |
184 | { | 184 | { |
185 | logf("%s ignored - owner update", __func__); | 185 | #ifdef LOGF_ENABLE |
186 | logf("%s ignored - owner update", __func__); | ||
187 | #endif | ||
186 | return; | 188 | return; |
187 | } | 189 | } |
188 | int x, y; | 190 | int x, y; |
@@ -204,7 +206,9 @@ void LCDFN(update_viewport_rect)(int x, int y, int width, int height) | |||
204 | struct viewport* vp = LCDFN(current_viewport); | 206 | struct viewport* vp = LCDFN(current_viewport); |
205 | if ((vp->flags & VP_FLAG_OWNER_UPDATE) == VP_FLAG_OWNER_UPDATE) | 207 | if ((vp->flags & VP_FLAG_OWNER_UPDATE) == VP_FLAG_OWNER_UPDATE) |
206 | { | 208 | { |
207 | logf("%s ignored - owner update", __func__); | 209 | #ifdef LOGF_ENABLE |
210 | logf("%s ignored - owner update", __func__); | ||
211 | #endif | ||
208 | return; | 212 | return; |
209 | } | 213 | } |
210 | /* handle the case of viewport with differing stride from main screen */ | 214 | /* handle the case of viewport with differing stride from main screen */ |