From 09cb3c7843d1bfe24f8259a73441c6398d2c0339 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Wed, 21 Sep 2022 16:13:38 +0100 Subject: lcd: Remove HAVE_VIEWPORT_CLIP This was only enabled for the mrobe500 and sansaconnect targets. Most targets are therefore running without this "safety" measure, and presumably we'd have noticed long ago if there was a problem. So in all likelihood this is just a bunch of dead code that we don't need to carry around. Change-Id: I7d27701a38b1c2a985ee73fa6f277ad215d8d385 --- firmware/export/config/mrobe500.h | 3 --- firmware/export/config/sansaconnect.h | 3 --- 2 files changed, 6 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/config/mrobe500.h b/firmware/export/config/mrobe500.h index ffc8a6bfb8..ebda42d160 100644 --- a/firmware/export/config/mrobe500.h +++ b/firmware/export/config/mrobe500.h @@ -65,9 +65,6 @@ /* define this if the target has volume keys which can be used in the lists */ #define HAVE_VOLUME_IN_LIST -/* define this if you want viewport clipping enabled for safe LCD functions */ -#define HAVE_VIEWPORT_CLIP - /* LCD dimensions */ #define CONFIG_LCD LCD_MROBE500 diff --git a/firmware/export/config/sansaconnect.h b/firmware/export/config/sansaconnect.h index fa929f3c10..a06ea9b207 100644 --- a/firmware/export/config/sansaconnect.h +++ b/firmware/export/config/sansaconnect.h @@ -66,9 +66,6 @@ /* define this if the target has volume keys which can be used in the lists */ #define HAVE_VOLUME_IN_LIST -/* define this if you want viewport clipping enabled for safe LCD functions */ -#define HAVE_VIEWPORT_CLIP - /* LCD dimensions */ #define CONFIG_LCD LCD_CONNECT -- cgit v1.2.3