Skip to content

Commit 1214fef

Browse files
marknolanCopilot
andauthored
Update ShimmerDriver/src/main/java/com/shimmerresearch/bluetooth/ShimmerBluetooth.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 992069d commit 1214fef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ShimmerDriver/src/main/java/com/shimmerresearch/bluetooth/ShimmerBluetooth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ protected void discardBufferBytesToNextPacket(){
13181318
/**
13191319
* Finds the offset/index of the next DATA_PACKET (0x00) or ACK_COMMAND_PROCESSED (0xFF) byte.
13201320
*
1321-
* @param a byte array to search within
1321+
* @param buffer a byte array to search within
13221322
* @return index of the first 0x00 or 0xFF byte found after position 0, or -1 if not found
13231323
*/
13241324
private static int findOffsetOfNextZeroOrFF(byte[] buffer) {

0 commit comments

Comments
 (0)