On Feb 7, 2008 1:44 PM, Angela Williams <[EMAIL PROTECTED]> wrote:
> > Add
> >
> >       ser_flush_io(upsfd);
> >
> > on lines 258, 278, 309 and 333. Basically, this will flush whatever is in
> > the in- and output buffers before sending a command to the UPS. It is safe
> > (but not always needed) to do so before every ser_send_pace() function.
[snip]
> Would it not be worthwhile to added these lines into the megatec.c source file
> or the FAQ?

Added in the trunk and the testing branch.

-- 
Carlos Rodrigues

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to