~bjornt/pygarmin/edge-305

Viewing all changes in revision 116.

  • Committer: Bjorn Tillenius
  • Date: 2008-02-16 11:24:11 UTC
  • Revision ID: bjorn.tillenius@gmail.com-20080216112411-a72qoayyzzb5f4hu
Make the USB communication more robust.

When starting the session, we know read from the USB bus until we get the right package. Before we assumed that the next packet would be the right one, which isn't always the case.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: