~igotu2gpx/igotu2gpx/0.3

« back to all changes in this revision

Viewing changes to src/igotu/igotucontrol.cpp

  • Committer: Michael Hofmann
  • Date: 2009-10-05 18:23:56 UTC
  • Revision ID: mh21@piware.de-20091005182356-r215xzrn0cwhivyy
Fix workaround detection for dump on devices other than GT120.

Show diffs side-by-side

added added

removed removed

Lines of Context:
367
367
        if (connection) {
368
368
            NmeaSwitchCommand(connection.get(), false).sendAndReceive();
369
369
 
370
 
            ModelCommand model(connection.get());
371
 
            model.sendAndReceive();
 
370
            IdentificationCommand id(connection.get());
 
371
            id.sendAndReceive();
372
372
 
373
373
            CountCommand countCommand(connection.get(),
374
374
                    id.firmwareVersion() >= 0x0215);