From 7d044b402b282ab55657e1e1b07535aef8ad7edd Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Wed, 29 Jun 2011 09:39:44 +0800 Subject: added 1 ms delay to run loop --- Debugger/debug_runlooptasks.S | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Debugger/debug_runlooptasks.S b/Debugger/debug_runlooptasks.S index 91e0fa9..91c130e 100644 --- a/Debugger/debug_runlooptasks.S +++ b/Debugger/debug_runlooptasks.S @@ -88,9 +88,13 @@ * NxOS Run Loop * ****************************************************************************/ + .extern nx_systick_wait_ms dbg__runloopTasks: /* Currently, there's nothing that needs to be done in the NxOS Run Loop */ - bx lr + push {lr} + mov r0, #1 /* 1 ms delay */ + bl nx_systick_wait_ms + pop {pc} #else /**************************************************************************** -- cgit v1.2.3