diff --git a/src/gui/miscsettings_menu.cpp b/src/gui/miscsettings_menu.cpp index 49184e4f5..21d5dd5aa 100644 --- a/src/gui/miscsettings_menu.cpp +++ b/src/gui/miscsettings_menu.cpp @@ -171,7 +171,7 @@ int CMiscMenue::showMiscSettingsMenu() misc_menue->addItem(new CMenuForwarder(LOCALE_MISCSETTINGS_GENERAL, true, NULL, misc_menue_general, NULL, CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED)); //energy, shutdown -#ifndef HAVE_SPARK_HARDWARE +#if !defined(HAVE_SPARK_HARDWARE) && !defined(HAVE_AZBOX_HARDWARE) if(cs_get_revision() > 7) #endif { diff --git a/src/neutrino.cpp b/src/neutrino.cpp index bac82f4a6..5a579900d 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -218,7 +218,7 @@ static void initGlobals(void) g_Radiotext = NULL; g_volume = NULL; -#if HAVE_SPARK_HARDWARE +#if HAVE_SPARK_HARDWARE || HAVE_AZBOX_HARDWARE /* spark has revision == 1 like tripledragon for now */ can_deepstandby = true; #else @@ -655,7 +655,7 @@ int CNeutrinoApp::loadSetup(const char * fname) #if HAVE_TRIPLEDRAGON g_settings.screen_preset = 0; /* does not make sense to have two configurations for that... */ #endif -#if HAVE_SPARK_HARDWARE +#if HAVE_SPARK_HARDWARE || HAVE_AZBOX_HARDWARE g_settings.screen_preset = 1; /* spark is now always using 1280x720 framebuffer */ #endif g_settings.screen_StartX = g_settings.screen_preset ? g_settings.screen_StartX_lcd : g_settings.screen_StartX_crt; diff --git a/src/neutrino_menue.cpp b/src/neutrino_menue.cpp index 92c01c4fa..59278c555 100644 --- a/src/neutrino_menue.cpp +++ b/src/neutrino_menue.cpp @@ -132,7 +132,7 @@ void CNeutrinoApp::InitMenuMain() dprintf(DEBUG_DEBUG, "init mainmenue\n"); unsigned int system_rev = cs_get_revision(); -#if HAVE_SPARK_HARDWARE +#if HAVE_SPARK_HARDWARE || HAVE_AZBOX_HARDWARE system_rev = 8; // :-) #endif