Subversion Repositories public

Compare Revisions

Ignore whitespace Rev 149 → Rev 150

/sportwatcher/trunk/libgarmin/usb_comm.c
110,12 → 110,12
if (method && garmin->usb.fd == -1)
{
/* check for USB serial drivers -- very Linux-specific */
if (access("/sys/module/garmin_gps", R_OK) != 0)
/* if (access("/sys/module/garmin_gps", R_OK) != 0)
{
garmin_queue_error("garmin_gps not active!", err_error);
return 0;
}
 
*/
if ((garmin->usb.fd = open(USBdevice, O_RDWR | O_NOCTTY | O_NONBLOCK)) == -1)
return 0;