- (re)enable setting of resolution
[enigma2.git] / lib / gdi / fb.cpp
index 52d950a69a0d12b5d30da9b1d89239334ffe7939..38ae37dd1df622196aafaed2a4e33217f2160f3f 100644 (file)
@@ -29,9 +29,6 @@ fbClass::fbClass(const char *fb)
        cmap.blue=blue;
        cmap.transp=trans;
 
-       int state=0;
-       eConfig::getInstance()->getKey("/ezap/osd/showConsoleOnFB", state);
-
        fd=open(fb, O_RDWR);
        if (fd<0)
        {
@@ -62,7 +59,7 @@ fbClass::fbClass(const char *fb)
                goto nolfb;
        }
 
-       showConsole(state);
+//     showConsole(0);
        return;
 nolfb:
        lfb=0;
@@ -124,6 +121,7 @@ fbClass::~fbClass()
                ioctl(fd, FBIOPUT_VSCREENINFO, &oldscreen);
        if (lfb)
                munmap(lfb, available);
+       showConsole(1);
 }
 
 int fbClass::PutCMAP()