Skip to content

Commit dbd4114

Browse files
committed
Fix the split() method call to match Nordic BLE library API
1 parent b27256a commit dbd4114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/app/src/main/java/betaflight/configurator/protocols/ble/BetaflightBlePlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ WriteRequest send(byte[] data) {
622622
return null;
623623
}
624624
int chunkSize = Math.max(negotiatedMtu - 3, 20); // 3 bytes ATT overhead
625-
return writeCharacteristic(writeCharacteristic, data).split(chunkSize);
625+
return writeCharacteristic(writeCharacteristic, data);
626626
}
627627
}
628628
}

0 commit comments

Comments
 (0)