Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,9 @@ class StmOtaMessageChannel(
outgoing.sendMessage(command).doSimultaneously(incoming.receiveResponse<R>()).await()
}

suspend inline fun sendStmOtaModeCommand(command: StmOtaCommand) =
runLockedTask {
outgoing.sendMessage(command).await()
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class StmOtaController {
stmOtaMessageChannel
.sendStmOtaModeCommandAndReceiveResponse<CommandAcknowledgement>(GoCommand())
.verifyResponseIsAck()
stmOtaMessageChannel.outgoing.sendMessage( // The ACK sometimes doesn't make it back before the Cypress module disconnects
stmOtaMessageChannel.sendStmOtaModeCommand( // The ACK sometimes doesn't make it back before the Cypress module disconnects
GoAddressCommand(GO_ADDRESS.toByteArray(StmOtaMessageProtocol.byteOrder))
)
}
Expand Down