[haiku-commits] Re: r39761 - haiku/trunk/src/add-ons/kernel/drivers/ports/usb_serial

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 8 Dec 2010 11:06:32 +0100 (MET)

mmlr@xxxxxxxx wrote:
> * Remove a line of useless or-ing the same values on the variable.
[...]
>       int32 control;
>       control = (state & CLS_LINE_RTS) ? FTDI_SIO_SET_RTS_HIGH :
> FTDI_SIO_SET_RTS_LOW;
> -     control |= (state & CLS_LINE_DTR) ? FTDI_SIO_SET_DTR_HIGH :
> FTDI_SIO_SET_DTR_LOW;

It actually says RTS and DTR, so it isn't the same value - maybe this had 
another reason?

Bye,
   Axel.


Other related posts: