1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-24 10:56:50 +01:00

Default to low latency mode #287

Tested with Mi1A and Mi1S -- works fine and faster than without
low-latency mode.
This commit is contained in:
cpfeiffer 2016-05-15 00:21:55 +02:00
parent 5963843216
commit 3a1f91b5a8
2 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ public class UpdateFirmwareOperation extends AbstractMiBandOperation {
int firmwareProgress = 0;
TransactionBuilder builder = performInitialized("send firmware packet");
if (prefs.getBoolean("mi_low_latency_fw_update", false)) {
if (prefs.getBoolean("mi_low_latency_fw_update", true)) {
getSupport().setLowLatency(builder);
}
for (int i = 0; i < packets; i++) {

View File

@ -165,6 +165,6 @@
android:key="mi_low_latency_fw_update"
android:title="@string/pref_title_low_latency_fw_update"
android:summary="@string/pref_summary_low_latency_fw_update"
android:defaultValue="false" />
android:defaultValue="true" />
</PreferenceCategory>
</PreferenceScreen>