Skip to content

Commit

Permalink
Fixed escape character splitting calculation in bluetooth.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
siliconwitch committed Sep 4, 2024
1 parent 9375dd3 commit 6d00072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bluetooth.dart
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class BrilliantDevice {
}

// Don't split on an escape character
if (file[index + chunkSize - 1] == '\\') {
while (file[index + chunkSize - 1] == '\\') {
chunkSize -= 1;
}

Expand Down

0 comments on commit 6d00072

Please sign in to comment.