Shut up the PIUIO driver from leaving a warning all the time.
This commit is contained in:
@@ -24,7 +24,9 @@ InputHandler_Linux_PIUIO::InputHandler_Linux_PIUIO()
|
||||
fd = open( "/dev/piuio0", O_RDONLY );
|
||||
if( fd < 0 )
|
||||
{
|
||||
LOG->Warn( "Couldn't open PIUIO device: %s", strerror(errno) );
|
||||
/* As it happens, most people don't have one of these. Don't log this.
|
||||
* TODO: Log it if it's in the device list. - Colby */
|
||||
//LOG->Warn( "Couldn't open PIUIO device: %s", strerror(errno) );
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user