Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Shem Multinymous <multinymous-Re5JQEeQqe8AvxtiuMwx3w <at> public.gmane.org>
Subject: Re: hdapsd.c oldunow
Newsgroups: gmane.linux.drivers.hdaps.devel
Date: Thursday 2nd August 2007 22:49:01 UTC (over 10 years ago)
On 8/2/07, Shem Multinymous
 wrote:
> On 8/2/07, Yuuki Harano 
wrote:
> > hdapsd.c:
> >     if (!ret && !oldunow && unow-oldunow > 1.5/sampling_rate)
> >         analyze(oldx, oldy, unow-1.0/sampling_rate, threshold,
adaptive, parked);
> >
> > Because of "!oldunow", this analyze() is called only once at the
startup.
> > I think that it should be "oldunow" without "!".
>
> Good catch, thanks!
> Fixed version attached, patch below.

Resending latest hdapsd.c (the attachment was missing).

  Shem
 
CD: 4ms