From abedf371a610485c3de77af2a05e2699627ff358 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Wed, 22 Jun 2011 07:48:01 +0800 Subject: more refactoring, moved platform specific includes to debug_runlooptasks.h --- Debugger/debug_runlooptasks.S | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'Debugger/debug_runlooptasks.S') diff --git a/Debugger/debug_runlooptasks.S b/Debugger/debug_runlooptasks.S index 4115ad6..75c477c 100644 --- a/Debugger/debug_runlooptasks.S +++ b/Debugger/debug_runlooptasks.S @@ -70,6 +70,7 @@ #define __ASSEMBLY__ #define REBOOT_POWERDOWN +#include "debug_runlooptasks.h" #include "debug_internals.h" #include "debug_macros.h" @@ -97,8 +98,6 @@ dbg__runloopTasks: * NXT Firmware Run Loop * ****************************************************************************/ - .extern cCommCtrl - dbg__runloopTasks: push {lr} /* FIXME: Add necessary cXXXCtrl calls here */ @@ -108,7 +107,6 @@ dbg__runloopTasks: #endif #ifdef __NXOS__ - .extern nx_core_reset /**************************************************************************** * * NxOS Reboot Routine @@ -118,11 +116,6 @@ dbg__runloopTasks: b nx_core_reset /* Reboot Brick, won't return */ #else - .extern dIOCtrlSetPower - .extern dIOCtrlSetPwm - .extern dIOCtrlTransfer - .equ BOOT, 0xA55A - .equ POWERDOWN, 0x5A00 /**************************************************************************** * * NXT Firmware Reboot Routine @@ -171,9 +164,6 @@ _dbg__reboot_wait: #ifdef __NXOS__ .extern debug_OutCommBuf - .extern nx_usb_is_connected - .extern nx_usb_write - .extern nx_usb_data_written /**************************************************************************** * * NxOS Communications Driver Interface Routine @@ -215,9 +205,6 @@ exit_dbg__sendCommMsg: #else - .extern dBtSendMsg - .extern dUsbIsConfigured - .extern dUsbWrite /**************************************************************************** * * NXT Firmware Communications Driver Interface Routine -- cgit v1.2.3