From 9362ed2b292f232b0a201654328ef0213fb0fa4c Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 3 Aug 2013 18:48:33 +0200 Subject: [PATCH] fix screen mode selection logic error on TD wrong screen mode default "LCD" was introduced with commit 78bb53b64, leading to HD framebuffer settings which don't make sense :-) Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/2e5a63f70ccb1f83ab6fcaf7745bdd93c78e8dce Author: Stefan Seyfried Date: 2013-08-03 (Sat, 03 Aug 2013) ------------------ This commit was generated by Migit --- src/neutrino.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 0a7fe2aca..b06d0a15c 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -687,8 +687,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_COOLSTREAM +#elif ! HAVE_COOLSTREAM 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;