summaryrefslogtreecommitdiff
path: root/Debugger/debug_runlooptasks.S
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-06-29 09:39:44 +0800
committerTat-Chee Wan (USM)2011-06-29 09:39:44 +0800
commit7d044b402b282ab55657e1e1b07535aef8ad7edd (patch)
tree93193a030d78d4a58e82ceacdabe9288a4351f8d /Debugger/debug_runlooptasks.S
parent37f536b128cec0e4d25cb827bb90ae20368795c6 (diff)
added 1 ms delay to run loop
Diffstat (limited to 'Debugger/debug_runlooptasks.S')
-rw-r--r--Debugger/debug_runlooptasks.S6
1 files changed, 5 insertions, 1 deletions
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
/****************************************************************************