From 37f536b128cec0e4d25cb827bb90ae20368795c6 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Wed, 22 Jun 2011 10:54:18 +0800 Subject: power down brick when kill command received Instead of rebooting, power down the brick when kill command received, to be consistent with NXT firmware behavior --- Debugger/debug_runlooptasks.S | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Debugger/debug_runlooptasks.S') diff --git a/Debugger/debug_runlooptasks.S b/Debugger/debug_runlooptasks.S index 75c477c..91e0fa9 100644 --- a/Debugger/debug_runlooptasks.S +++ b/Debugger/debug_runlooptasks.S @@ -113,7 +113,11 @@ dbg__runloopTasks: * ****************************************************************************/ dbg__reboot: +#ifdef REBOOT_POWERDOWN + b nx_core_halt /* Shutdown Brick, won't return */ +#else b nx_core_reset /* Reboot Brick, won't return */ +#endif #else /**************************************************************************** -- cgit v1.2.3