Messages in this thread | | | Date | Fri, 13 Nov 2015 09:59:43 +0100 | From | Dave Penkler <> | Subject | Re: [PATCH v3 5/5] Add ioctls to enable and disable local controls on an instrument |
| |
Hi Andy, On Wed, Nov 11, 2015 at 09:36:41PM +0200, Andy Shevchenko wrote: > On Wed, Nov 11, 2015 at 1:21 PM, Dave Penkler <dpenkler@gmail.com> wrote: > > These ioctls provide support for the USBTMC-USB488 control requests > > for REN_CONTROL, GO_TO_LOCAL and LOCAL_LOCKOUT
snip
> > + goto exit; > > + } > > + wValue = (val) ? 1 : 0; > > !!val; I checked by compiling both variants - the compiler emits identical code for both so I prefer to keep the original as it is more obvious for maintainers reading the code.
regards, -Dave
| |