mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-27 00:51:44 +01:00
Merge remote-tracking branch 'origin/fossil-q-hr' into fossil-q-hr
This commit is contained in:
commit
c0107676e6
@ -543,6 +543,11 @@ public class FossilWatchAdapter extends WatchAdapter {
|
|||||||
public void onMtuChanged(BluetoothGatt gatt, int mtu, int status) {
|
public void onMtuChanged(BluetoothGatt gatt, int mtu, int status) {
|
||||||
super.onMtuChanged(gatt, mtu, status);
|
super.onMtuChanged(gatt, mtu, status);
|
||||||
|
|
||||||
|
if(this.MTU == mtu){
|
||||||
|
log("MTU changed, same value tho");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
log("MTU changed: " + mtu);
|
log("MTU changed: " + mtu);
|
||||||
|
|
||||||
this.MTU = mtu;
|
this.MTU = mtu;
|
||||||
|
Loading…
Reference in New Issue
Block a user