mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Fixup .pgmf support (set mode)
The .pgmf file support needed to set the workout mode but that was missed. Now tested the Train View with some Tacx ErgoVideos and they work perfectly.
This commit is contained in:
@@ -136,10 +136,10 @@ void ErgFile::parseTacx()
|
||||
input>>general.brakeCategory;
|
||||
switch (general.wattSlopePulse) {
|
||||
case 0 :
|
||||
format = ERG;
|
||||
mode = format = ERG;
|
||||
break;
|
||||
case 1 :
|
||||
format = CRS;
|
||||
mode = format = CRS;
|
||||
break;
|
||||
default:
|
||||
happy = false;
|
||||
|
||||
Reference in New Issue
Block a user