mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 10:05:49 +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:
parent
5963843216
commit
3a1f91b5a8
@ -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++) {
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user