From c71433ad1aa22ee7e6ec44e263a00f8e2c0c2449 Mon Sep 17 00:00:00 2001 From: Andrei Vereha Date: Sat, 6 Mar 2021 11:07:24 +0100 Subject: [PATCH] format: remove trailing commao --- .../pump/omnipod/dash/driver/comm/OmnipodDashBleManagerImpl.kt | 2 +- .../plugins/pump/omnipod/dash/driver/comm/pair/LTKExchanger.kt | 2 +- .../plugins/pump/omnipod/dash/driver/comm/session/Session.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/OmnipodDashBleManagerImpl.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/OmnipodDashBleManagerImpl.kt index 6357672cc9..7bc3e04008 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/OmnipodDashBleManagerImpl.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/OmnipodDashBleManagerImpl.kt @@ -96,7 +96,7 @@ class OmnipodDashBleManagerImpl @Inject constructor( val enDecrypt = EnDecrypt( aapsLogger, keys.nonce, - keys.ck, + keys.ck ) val session = Session( diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/pair/LTKExchanger.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/pair/LTKExchanger.kt index 3cab3565a7..f3a9615593 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/pair/LTKExchanger.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/pair/LTKExchanger.kt @@ -77,7 +77,7 @@ internal class LTKExchanger(private val aapsLogger: AAPSLogger, private val msgI return PairResult( ltk = ltk, podId = nodeId, - msgSeq = seq, + msgSeq = seq ) } diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/session/Session.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/session/Session.kt index af4f6d0c27..8f4e64bd6f 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/session/Session.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/session/Session.kt @@ -63,7 +63,7 @@ class Session( payload = ByteArray(0), eqos = 1, ack = true, - ackNumber = response.sequenceNumber.inc(), + ackNumber = response.sequenceNumber.inc() ) return enDecrypt.encrypt((msg)) }