Skip to content

Commit

Permalink
Update fitshowtreadmill.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed Jan 5, 2024
1 parent f1cf2c4 commit 3ee4312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fitshowtreadmill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ void fitshowtreadmill::update() {

if (initRequest) {
initRequest = false;
btinit((lastSpeed > 0 ? true : false));
btinit(true);
} else if (bluetoothDevice.isValid() && m_control->state() == QLowEnergyController::DiscoveredState &&
gattCommunicationChannelService && gattWriteCharacteristic.isValid() &&
gattNotifyCharacteristic.isValid() && initDone) {
Expand Down

0 comments on commit 3ee4312

Please sign in to comment.