typo
This commit is contained in:
parent
2582240556
commit
87679b42e7
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ abstract class DanaRSPacketHistory(
|
||||||
dataIndex += dataSize
|
dataIndex += dataSize
|
||||||
dataSize = 2
|
dataSize = 2
|
||||||
totalCount = byteArrayToInt(getBytes(data, dataIndex, dataSize))
|
totalCount = byteArrayToInt(getBytes(data, dataIndex, dataSize))
|
||||||
aapsLogger.debug(LTag.PUMPCOMM, "History end. Code: " + error + " Success: " + (error == 0x00) + " Toatal count: " + totalCount)
|
aapsLogger.debug(LTag.PUMPCOMM, "History end. Code: " + error + " Success: " + (error == 0x00) + " Total count: " + totalCount)
|
||||||
} else {
|
} else {
|
||||||
val recordCode = byteArrayToInt(getBytes(data, DATA_START, 1))
|
val recordCode = byteArrayToInt(getBytes(data, DATA_START, 1))
|
||||||
val historyYear = byteArrayToInt(getBytes(data, DATA_START + 1, 1))
|
val historyYear = byteArrayToInt(getBytes(data, DATA_START + 1, 1))
|
||||||
|
|
Loading…
Reference in a new issue