- small change
This commit is contained in:
parent
8be367e156
commit
16785838e9
1 changed files with 1 additions and 2 deletions
|
@ -169,12 +169,11 @@ enum class MedtronicCommandType(
|
|||
var allowedRetries = 2
|
||||
|
||||
//var maxAllowedTime = 2000
|
||||
//var parameterType: MinimedCommandParameterType? = parameterType
|
||||
var minimalBufferSizeToStartReading = 14
|
||||
|
||||
init {
|
||||
commandCode = code.toByte()
|
||||
this.commandParametersCount = if (commandParameters != null) commandParameters!!.size else 0
|
||||
this.commandParametersCount = commandParameters?.size ?: 0
|
||||
allowedRetries = 2
|
||||
if (this.parameterType == MinimedCommandParameterType.SubCommands) {
|
||||
minimalBufferSizeToStartReading = 200
|
||||
|
|
Loading…
Reference in a new issue