Skip to content

Commit

Permalink
revert part of r34680 dealing with LCD, might be causes wacky issues …
Browse files Browse the repository at this point in the history
…with LCD code

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma@35016 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information
davilla committed Oct 25, 2010
1 parent 1ea363a commit 51849ba
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions xbmc/Application.cpp
Expand Up @@ -4772,13 +4772,10 @@ void CApplication::ProcessSlow()

#ifdef HAS_LCD
// attempt to reinitialize the LCD (e.g. after resuming from sleep)
if (!IsPlayingVideo())
if (g_lcd && !g_lcd->IsConnected())
{
if (g_lcd && !g_lcd->IsConnected())
{
g_lcd->Stop();
g_lcd->Initialize();
}
g_lcd->Stop();
g_lcd->Initialize();
}
#endif

Expand Down

0 comments on commit 51849ba

Please sign in to comment.