summaryrefslogtreecommitdiffstats
path: root/firmware/drivers/lcd-bitmap-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-bitmap-common.c')
-rw-r--r--firmware/drivers/lcd-bitmap-common.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c
index bd6efa167c..cc42248b2d 100644
--- a/firmware/drivers/lcd-bitmap-common.c
+++ b/firmware/drivers/lcd-bitmap-common.c
@@ -271,18 +271,6 @@ struct viewport* LCDFN(set_viewport)(struct viewport* vp)
return LCDFN(set_viewport_ex)(vp, VP_FLAG_VP_DIRTY);
}
-struct viewport *LCDFN(get_viewport)(bool *is_default)
-{
-#if 0
- *is_default = memcmp(LCDFN(current_viewport),
- &default_vp, sizeof(struct viewport)) == 0;
-#else
- *is_default = LCDFN(current_viewport) == &default_vp;
-#endif
-
- return LCDFN(current_viewport);
-}
-
void LCDFN(update_viewport)(void)
{