From fa309e0a61de71a132e4a954a734baaabe2c1eb5 Mon Sep 17 00:00:00 2001 From: BPanther Date: Thu, 6 Jun 2024 13:27:52 +0200 Subject: [PATCH] dm7080/dm8000: small fix --- src/gui/vfd_setup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/vfd_setup.cpp b/src/gui/vfd_setup.cpp index f9f983184..d9fec9cd8 100644 --- a/src/gui/vfd_setup.cpp +++ b/src/gui/vfd_setup.cpp @@ -145,7 +145,7 @@ int CVfdSetup::showSetup() CMenuOptionChooser* oj; #if ENABLE_LCD -#if 0 +#if BOXMODEL_DM8000 || BOXMODEL_DM7080 //option power oj = new CMenuOptionChooser("Power LCD"/*LOCALE_LCDMENU_POWER*/, &g_settings.lcd_setting[SNeutrinoSettings::LCD_POWER], OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, new CLCDNotifier(), CRCInput::RC_nokey); vfds->addItem(oj); @@ -383,7 +383,7 @@ bool CLCDNotifier::changeNotify(const neutrino_locale_t, void * Data) int state = *(int *)Data; dprintf(DEBUG_NORMAL, "CLCDNotifier: state: %d\n", state); -#if 0 +#if BOXMODEL_DM8000 || BOXMODEL_DM7080 CVFD::getInstance()->setPower(state); #else CVFD::getInstance()->setPower(1);