diff --git a/tests/drivers/dma/loop_transfer/src/dma.c b/tests/drivers/dma/loop_transfer/src/dma.c index dc5e9787773aef..e0d95749788f3d 100644 --- a/tests/drivers/dma/loop_transfer/src/dma.c +++ b/tests/drivers/dma/loop_transfer/src/dma.c @@ -103,7 +103,7 @@ void main(void) return; } - k_sleep(SLEEPTIME); + k_sleep(K_MSEC(SLEEPTIME)); if (transfer_count < TRANSFER_LOOPS) { transfer_count = TRANSFER_LOOPS;