Skip to content

Commit

Permalink
ci fix in test
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoqun-liang committed Jun 1, 2024
1 parent f990ced commit f1704ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sw/tests/ethernet.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ int main(void) {
*reg32(ETH_BASE, IDMA_REQ_VALID_OFFSET) = 0x0;
*reg32(ETH_BASE, IDMA_RSP_READY_OFFSET) = 0x1;

while (!((*reg32(PLIC_BASE, RV_PLIC_IP_0_OFFSET)) & (1 << 19)));
while (!((*reg32(PLIC_BASE, RV_PLIC_IP_0_OFFSET)) & (1 << 19)))
;

printf("Ethernet test pass...\n\r");
return 0;
}
}

0 comments on commit f1704ae

Please sign in to comment.