[Kstars-devel] kdeedu/kstars/kstars/indi/fli

Jasem Mutlaq mutlaqja at ikarustech.com
Sun Apr 24 18:28:47 CEST 2005


On Sunday 24 April 2005 6:33 pm, Gaetano Vocca wrote:
> Adriaan,
> I agree with you that this code, as it was, was not portable to other OSes
> but, simply removing the #define USB_RESET I think you break the behaviour
> under Linux. So, instead of just deleting the line it is better to test
> whether Linux is the current OS and then define USB_RESET.
> Unfortunately, from the test I have performed, you will not be able to
> reconnect to a fli device without a reset.
> As soon as I will be able to compile the CVS kstars again, I will try to
> fix it but, in the meanwhile my feeling is that it is better to keep the
> reset. Comments are welcome
>
> BR
> Gaetano

How about we replace #ifdef USB_RESET with #ifdef __linux__? This will make 
the specific code only compiles on Linux and therefore solves the problem?

- Jasem


More information about the Kstars-devel mailing list