Skip to content

Commit

Permalink
do not request ble name for bundle < 9
Browse files Browse the repository at this point in the history
tagging @deXol... not sure what happens if it doesn't get fetched though, especially on the settings GUI side of things
  • Loading branch information
limpkin authored Jun 20, 2022
1 parent 52459ba commit 5aaa32d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2157,7 +2157,10 @@ void MainWindow::onDeviceConnected()
}
wsClient->sendUserSettingsRequest();
wsClient->sendBatteryRequest();
wsClient->sendBleNameRequest();
if (wsClient->get_bundleVersion() >= Common::BLE_BUNDLE_WITH_BLE_NAME)
{
wsClient->sendBleNameRequest();
}
}
displayBundleVersion();
updateDeviceDependentUI();
Expand Down

0 comments on commit 5aaa32d

Please sign in to comment.