Skip to content

Commit

Permalink
Capitol Sports Infinity Pro 4 treadmill (Issue #2748)
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein authored Nov 6, 2024
1 parent 42d2dce commit be0465d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/bluetooth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,6 @@ void bluetooth::deviceDiscovered(const QBluetoothDeviceInfo &device) {
b.name().toUpper().startsWith(QStringLiteral("TRX4500")) || // FTMS
b.name().toUpper().startsWith(QStringLiteral("MATRIXTF50")) || // FTMS
b.name().toUpper().startsWith(QStringLiteral("T01_")) || // FTMS
b.name().toUpper().startsWith(QStringLiteral("SW-BLE")) || // FTMS
(b.name().startsWith(QStringLiteral("SW")) && b.name().length() == 14 &&
!b.name().contains('(') && !b.name().contains(')') && deviceHasService(b, QBluetoothUuid((quint16)0x1826))) ||
(b.name().toUpper().startsWith(QStringLiteral("TF-")) &&
Expand Down Expand Up @@ -2298,6 +2297,7 @@ void bluetooth::deviceDiscovered(const QBluetoothDeviceInfo &device) {
(b.name().startsWith(QStringLiteral("SW")) && b.name().length() == 14 &&
!b.name().contains('(') && !b.name().contains(')') && !deviceHasService(b, QBluetoothUuid((quint16)0x1826))) ||
(b.name().toUpper().startsWith(QStringLiteral("WINFITA"))) || // also FTMS
(b.name().toUpper().startsWith(QStringLiteral("SW-BLE"))) || // FTMS
(b.name().startsWith(QStringLiteral("BF70")))) &&
!fitshowTreadmill && !iconsole_elliptical && !horizonTreadmill && filter) {
this->setLastBluetoothDevice(b);
Expand Down

0 comments on commit be0465d

Please sign in to comment.