Skip to content

Commit 58b7784

Browse files
Improve LLA applicability expectations in documentation and add initial I2C support
1 parent f823c4b commit 58b7784

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

ReSearch.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ def Drop(self, lastIndex):
8080
block.charTime = charTime
8181
return
8282

83-
8483
def Match(self, drop = False):
8584
if not len(self.blocks):
8685
return
@@ -125,11 +124,10 @@ def Match(self, drop = False):
125124
if start.endIndex < lastIdx:
126125
continue
127126

128-
offset = lastIdx - start.startIndex - 1
127+
offset = lastIdx - start.startIndex
129128
endEpoch = start.startTime + GTD(offset * start.charTime)
130129
break
131130

132-
133131
result = AsObj(
134132
str = match.string[firstIdx:lastIdx],
135133
start = startEpoch, end = endEpoch

0 commit comments

Comments
 (0)