Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 493898
Collapse All | Expand All

(-)a/Makefile (-1 / +1 lines)
Lines 86-92 else Link Here
86
ifneq (,$(strip $(findstring $(OSTYPE), Linux)))
86
ifneq (,$(strip $(findstring $(OSTYPE), Linux)))
87
  # Linux
87
  # Linux
88
# uncomment this next line if you have the USB tower library installed
88
# uncomment this next line if you have the USB tower library installed
89
#  USBOBJ = rcxlib/RCX_USBTowerPipe_linux.o
89
  USBOBJ = rcxlib/RCX_USBTowerPipe_linux.o
90
  CFLAGS += -I/usr/local/include/LegoUSB -Wno-deprecated
90
  CFLAGS += -I/usr/local/include/LegoUSB -Wno-deprecated
91
else
91
else
92
ifneq (,$(findstring $(OSTYPE), SunOS))
92
ifneq (,$(findstring $(OSTYPE), SunOS))
(-)a/rcxlib/RCX_USBTowerPipe_linux.cpp (-2 / +2 lines)
Lines 59-69 RCX_Pipe* RCX_NewUSBTowerPipe() Link Here
59
       return new RCX_USBTowerPipe_linux();
59
       return new RCX_USBTowerPipe_linux();
60
}
60
}
61
61
62
#define DEFAULT_TOWER_NAME "/dev/usb/lego0"
62
#define DEFAULT_TOWER_NAME "/dev/usb/legousbtower0"
63
63
64
RCX_Result RCX_USBTowerPipe_linux::Open(const char *name, int mode)
64
RCX_Result RCX_USBTowerPipe_linux::Open(const char *name, int mode)
65
{
65
{
66
       // if (name == 0 || *name==0)
66
       if (name == 0 || *name==0)
67
       {
67
       {
68
               name = DEFAULT_TOWER_NAME;
68
               name = DEFAULT_TOWER_NAME;
69
       }
69
       }

Return to bug 493898