mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 05:16:51 +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) {
|
||||
super.onMtuChanged(gatt, mtu, status);
|
||||
|
||||
if(this.MTU == mtu){
|
||||
log("MTU changed, same value tho");
|
||||
return;
|
||||
}
|
||||
|
||||
log("MTU changed: " + mtu);
|
||||
|
||||
this.MTU = mtu;
|
||||
|
Loading…
Reference in New Issue
Block a user