Skip to content

Commit

Permalink
sw: Fix invalid inline assembly in snrt_dma_wait_channel (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
zero9178 authored Aug 21, 2024
1 parent 5928ffa commit b9f8903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/snRuntime/src/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ inline void snrt_dma_wait_channel(snrt_dma_txid_t tid, uint32_t channel) {
"blez t0, 1b \n" ::"i"(
R_TYPE_ENCODE(DMSTAT_FUNCT7, 6, 0, XDMA_FUNCT3, 5, OP_CUSTOM1)),
"r"(tid), "r"(cfg)
: "t0", "t1");
: "t0");
}

/// Block until all operation on the DMA ceases.
Expand Down

0 comments on commit b9f8903

Please sign in to comment.