add debug output
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 2 Nov 2006 18:52:29 +0000 (18:52 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 2 Nov 2006 18:52:29 +0000 (18:52 +0000)
lib/driver/rfmod.cpp

index 071343ed595eb8a7292c8d56a65b45fa37b5dc80..41ff04458334debdad6b7cda631c3d886839df31 100644 (file)
@@ -23,6 +23,8 @@ eRFmod::eRFmod()
        instance = this;
        
        fd = open("/dev/rfmod0", O_RDWR);
+       if (fd < 0)
+               eDebug("couldnt open /dev/rfmod0!!!!");
 }
 
 eRFmod::~eRFmod()