From d8032b84775430ff132f136371c95a045b401595 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Mon, 14 Mar 2011 17:54:16 +0800 Subject: must preserve lr in routine --- Debugger/debug_runlooptasks.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Debugger/debug_runlooptasks.S b/Debugger/debug_runlooptasks.S index 24f8bfe..fd17412 100644 --- a/Debugger/debug_runlooptasks.S +++ b/Debugger/debug_runlooptasks.S @@ -79,8 +79,9 @@ dbg__runloopTasks: .extern cCommCtrl dbg__runloopTasks: + push {lr} /* FIXME: Add necessary cXXXCtrl calls here */ bl cCommCtrl /* OSWatchdogWrite is a NULL function in the NXT Firmware?! */ - bx lr + pop {pc} #endif -- cgit v1.2.3