Diff: Common/OS_Kernel.h
- Revision:
- 3:ffeede165329
- Parent:
- 2:bf07aada100e
- Child:
- 4:6592f6b49368
--- a/Common/OS_Kernel.h Thu Nov 11 10:03:28 2010 +0000 +++ b/Common/OS_Kernel.h Thu Nov 11 10:11:30 2010 +0000 @@ -1,5 +1,4 @@ -/// @file -//****************************************************************************** +/// @file //****************************************************************************** //* //* FULLNAME: Single-Chip Microcontroller Real-Time Operating System //* @@ -234,6 +233,9 @@ public: INLINE_PROCESS_CTOR process(); #ifdef DEBUG_STACK +/* Determine stack usage by looking for change from fill constant + * @return The stack size used so far + */ word UsedStackSize(); #endif //DEBUG_STACK @@ -251,9 +253,6 @@ { } #ifdef DEBUG_STACK -/** Determine stack usage by looking for change from fill constant - * @return The stack size used so far - */ template<TPriority pr, word stack_size> word process<pr,stack_size>::UsedStackSize() {