eliminated duplicate mtu change effect

This commit is contained in:
dakhnod 2020-01-15 01:25:58 +01:00
parent fd8800607c
commit f7c21e9e62

View File

@ -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;