[Nut-upsdev] about nut revision 1289

Alexander Gordeev lasaine at lvk.cs.msu.su
Mon Jun 8 20:07:26 UTC 2009


On Monday 08 June 2009 22:29:39 Arjen de Korte wrote:
> Citeren Carlos Rodrigues <cefrodrigues at gmail.com>:
> > I don't remember why I added those lines, and at first sight they
> > don't make any sense because the read waits up to 2 seconds or a
> > carriage return (whichever comes first), so it would wait those 300ms
> > anyway. Which is why I think they were added for a reason... Now if
> > that reason made sense or not, that's another story... :)
>
> The reason is documented in the last few paragraphs of
> docs/new-drivers.txt. The delays are there for a good reason and
> removing them is just not an option.

Thanks for the note!
Maybe we can move usleep to serial.*?

-- 
  Alexander



More information about the Nut-upsdev mailing list