add 'weight' for menu entries (including plugins), so they can be sorted, patch by...
[enigma2.git] / lib / driver / rfmod.cpp
index b71d2fe9ca58a0896dae028f011a43349cbfa449..41ff04458334debdad6b7cda631c3d886839df31 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <lib/base/init.h>
 #include <lib/base/init_num.h>
 
 #include <lib/base/init.h>
 #include <lib/base/init_num.h>
-#include <lib/base/econfig.h>
 #include <lib/base/eerror.h>
 
 #define IOCTL_SET_CHANNEL                                              0
 #include <lib/base/eerror.h>
 
 #define IOCTL_SET_CHANNEL                                              0
@@ -24,6 +23,8 @@ eRFmod::eRFmod()
        instance = this;
        
        fd = open("/dev/rfmod0", O_RDWR);
        instance = this;
        
        fd = open("/dev/rfmod0", O_RDWR);
+       if (fd < 0)
+               eDebug("couldnt open /dev/rfmod0!!!!");
 }
 
 eRFmod::~eRFmod()
 }
 
 eRFmod::~eRFmod()