]> git.itanic.dy.fi Git - glucose/commit
Have extra 20ms delay after every 16th read entry master
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Mon, 23 Jul 2012 15:07:19 +0000 (18:07 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Mon, 23 Jul 2012 15:13:08 +0000 (18:13 +0300)
commita2fcf71efcd3666b23d2a213aa63250d0f5f991e
tree23d4e4a228bafbe5ca6b7d34277a0d2b60bd2024
parent0d76cc50c3fc819f3af93c4046365f38789e7fc3
Have extra 20ms delay after every 16th read entry

Some times the meter refuses to return all entries as expected, and
just returns some crap instead. This becomes especially notcieable
once the meter has reached the limit of 2000 glucose readings.

Having an extra 20ms delay between readings once every 16th reads
appears to help ensuring all data is read reliably out of the device.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
contour-protocol.c
contour-protocol.h
main.c