From 50841f40ff36ac303cfcc21b7a8c9026be6ca6eb Mon Sep 17 00:00:00 2001 From: Federico Amedeo Izzo Date: Fri, 29 Jan 2021 23:11:11 +0100 Subject: [PATCH] Enable contrast menu for DM-1801 and MD-9600 --- platform/targets/DM-1801/hwconfig.h | 3 +++ platform/targets/MD-9600/hwconfig.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/platform/targets/DM-1801/hwconfig.h b/platform/targets/DM-1801/hwconfig.h index 0d79bdd1..aea63ff8 100644 --- a/platform/targets/DM-1801/hwconfig.h +++ b/platform/targets/DM-1801/hwconfig.h @@ -40,6 +40,9 @@ /* Screen pixel format */ #define PIX_FMT_BW +/* Screen has adjustable contrast */ +#define SCREEN_CONTRAST + /* Battery type */ #define BAT_LIPO_2S diff --git a/platform/targets/MD-9600/hwconfig.h b/platform/targets/MD-9600/hwconfig.h index a34a0384..55e53eff 100644 --- a/platform/targets/MD-9600/hwconfig.h +++ b/platform/targets/MD-9600/hwconfig.h @@ -40,6 +40,9 @@ #define SCREEN_WIDTH 128 #define SCREEN_HEIGHT 64 +/* Screen has adjustable contrast */ +#define SCREEN_CONTRAST + /* Screen pixel format */ #define PIX_FMT_BW