Skip to content

Commit

Permalink
two sends plus delay
Browse files Browse the repository at this point in the history
  • Loading branch information
tballmsft committed Sep 28, 2023
1 parent 1a77598 commit 400b36f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jacs_topwriter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,12 @@ namespace jacs {
wr.emitBufStore(literal(p.jdParam2, Op.EXPRx_LITERAL_F64),
NumFmt.F64, 0)
this.emitSendCmd(role, actuator.serviceCommand)
this.emitSleep(5)
wr.emitStmt(Op.STMT1_SETUP_PKT_BUFFER, [literal(sz)])
wr.emitBufStore(literal(p.jdParam2, Op.EXPRx_LITERAL_F64),
NumFmt.F64, 0)
this.emitSendCmd(role, actuator.serviceCommand)
this.emitSleep(500)
} else {
throw "oops"
}
Expand Down

0 comments on commit 400b36f

Please sign in to comment.