From f1704ae21bc1fa93ec956d8eef3e88073f8a192b Mon Sep 17 00:00:00 2001 From: Chaoqun Liang Date: Sat, 1 Jun 2024 13:09:55 +0200 Subject: [PATCH] ci fix in test --- sw/tests/ethernet.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sw/tests/ethernet.c b/sw/tests/ethernet.c index 35b2b11c..0069e7a8 100644 --- a/sw/tests/ethernet.c +++ b/sw/tests/ethernet.c @@ -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; - } +}