[Nut-upsdev] [nut-commits] svn commit r1136 - in trunk: . drivers

Carlos Rodrigues carlos.efr at mail.telepac.pt
Wed Oct 3 08:06:02 UTC 2007


On 10/3/07, Arjen de Korte <nut+devel at de-korte.org> wrote:
> 3) Something you're probably not responsible for, but if flushing the
> input buffers is needed, this is something that should be done in main
> driver body (megatec.c). The driver doesn't flush I/O buffers, so the
> implementation of the Megatec protocol is apparently robust enough to
> tolerate occasional garbage characters in the buffers.

I can do this in "megatec.c" if necessary, just say the word.

And yes, the implementation has to be robust against garbage because
the hardware itself sometimes goes crazy and returns crap.

-- 
Carlos Rodrigues



More information about the Nut-upsdev mailing list