diff options
-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 */ |