remove unused code
This commit is contained in:
parent
0835a487c0
commit
a83d6391a3
1 changed files with 1 additions and 5 deletions
|
@ -298,11 +298,7 @@ class MedtronicCommunicationManager // This empty constructor must be kept, oth
|
||||||
if (frameData.isEmpty()) {
|
if (frameData.isEmpty()) {
|
||||||
aapsLogger.error(LTag.PUMPCOMM, "null frame data, retrying")
|
aapsLogger.error(LTag.PUMPCOMM, "null frame data, retrying")
|
||||||
} else if (currentResponse.frameNumber != expectedFrameNum) {
|
} else if (currentResponse.frameNumber != expectedFrameNum) {
|
||||||
aapsLogger.warn(
|
aapsLogger.warn(LTag.PUMPCOMM, String.format(Locale.ENGLISH, "Expected frame number %d, received %d (retrying)", expectedFrameNum, currentResponse.frameNumber))
|
||||||
LTag.PUMPCOMM, String.format(Locale.ENGLISH, "Expected frame number %d, received %d (retrying)", expectedFrameNum,
|
|
||||||
currentResponse.frameNumber))
|
|
||||||
} else if (frameData.isEmpty()) {
|
|
||||||
aapsLogger.warn(LTag.PUMPCOMM, "Frame has zero length, retrying")
|
|
||||||
}
|
}
|
||||||
failures++
|
failures++
|
||||||
if (failures == 6) {
|
if (failures == 6) {
|
||||||
|
|
Loading…
Reference in a new issue