Permalink
Browse files

FIT : Add Quarq as Manu/Prod

      Add Powertap P1
      Add Powertap C1
  • Loading branch information...
grauser committed Aug 30, 2017
1 parent 871a188 commit 98f54da2850d938970b536c43fafe97fd40108a9
Showing with 14 additions and 0 deletions.
  1. +14 −0 src/FileIO/FitRideFile.cpp
View
@@ -382,6 +382,18 @@ struct FitFileReaderState
case 8: return "SRM PC8";
default: return "SRM Powercontrol";
}
} else if (manu == 7 ) {
// Quarq
if (prod == -1)
return "Quarq";
switch (prod) {
case 1: return "Quarq Cinqo";
case 9479: return "Quarq DZERO";
default: return QString("Quarq %1").arg(prod);
}
} else if (manu == 9 ) {
// Powertap
if (prod == -1)
@@ -392,6 +404,8 @@ struct FitFileReaderState
case 18: return "Joule";
case 19: return "Joule GPS";
case 22: return "Joule GPS+";
case 272: return "Powertap C1";
case 288: return "Powertap P1";
case 4096: return "Powertap G3";
default: return QString("Powertap Device %1").arg(prod);

0 comments on commit 98f54da

Please sign in to comment.