Skip to content

Commit a53ea6d

Browse files
cagnuleinclaude
andcommitted
Fix settingCount mismatch and mark MOK Fitness S10 Ultra as no ERG mode
settings-catalog.json settingCount was 964 but 965 entries exist after the Freebeat and WaterRower USB settings were both merged. Also flag MOK Fitness S10 Ultra (MOKFITNESS-) as not supporting ERG mode natively, consistent with other resistance-based FTMS bikes. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 7cb0721 commit a53ea6d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/devices/ftmsbike/ftmsbike.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2156,6 +2156,7 @@ void ftmsbike::deviceDiscovered(const QBluetoothDeviceInfo &device) {
21562156
qDebug() << QStringLiteral("MOKFITNESS found");
21572157
MOK_FITNESS = true;
21582158
max_resistance = 32;
2159+
ergModeSupported = false; // this bike doesn't have ERG mode natively
21592160
} else if (isSmartBikeThreeDigitName(device.name())) {
21602161
qDebug() << QStringLiteral("SMARTBIKE-### found");
21612162
SMARTBIKE_3DIGIT = true;

src/settings-catalog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://qdomyos-zwift.local/settings-catalog.schema.json",
33
"schemaVersion": 1,
44
"format": "qdomyos-zwift-settings-catalog",
5-
"settingCount": 964,
5+
"settingCount": 965,
66
"pages": [
77
{
88
"key": "page_custom_gear_table",

0 commit comments

Comments
 (0)