svn commit: r304699 - head/sys/dev/usb/input

Hans Petter Selasky hps at selasky.org
Wed Aug 24 07:52:52 UTC 2016


On 08/24/16 09:38, Bruce Evans wrote:
> On Wed, 24 Aug 2016, Hans Petter Selasky wrote:
>
>> On 08/23/16 21:50, Bruce Evans wrote:
>>> +        kbd->kb_delay1 = imax(((int *)arg)[0], 250);
>>> +        kbd->kb_delay2 = imax(((int *)arg)[1], 34);
>>
>> It looks like this will pass negative kb_delay's. How do you handle that?
>
> imax(negtive, POSITIVE) == POSITIVE.
>

OK, looks good.

--HPS



More information about the svn-src-head mailing list