Shut up the PIUIO driver from leaving a warning all the time.

This commit is contained in:
Colby Klein
2012-12-09 02:45:41 -08:00
parent 83f745f95c
commit a6020c8b1d
@@ -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;
}