いらないはずのアイドルスレッドをコメントアウト

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@332 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
yutaka 2007-12-06 09:59:06 +00:00
parent 5f6747cf63
commit 310b8522c4

View File

@ -37,6 +37,13 @@ static u8 fatfsHeap[FATFS_HEAP_SIZE] __attribute__ ((aligned (32)));
*/
#define USE_DEBUG_LED
/*
()
*/
//#define USE_IDLE_THREAD
//#ifdef SDK_FINALROM // FINALROMĹłŚř‰»
//#undef PROFILE_ENABLE
//#undef USE_DEBUG_LED
@ -140,8 +147,10 @@ static BOOL FsInit(void)
return TRUE;
}
#ifdef USE_IDLE_THREAD
static void IdleThread(void* arg)
{
(void)arg;
OS_EnableInterrupts();
while ( 1 )
{
@ -155,6 +164,7 @@ static void CreateIdleThread( void )
OS_CreateThread( &idle, IdleThread, NULL, &idleStack[16], sizeof(idleStack), OS_THREAD_PRIORITY_MAX );
OS_WakeupThreadDirect( &idle );
}
#endif
void TwlSpMain( void )
{
@ -208,7 +218,9 @@ SetDebugLED(0x02);
goto end;
}
#ifdef USE_IDLE_THREAD
CreateIdleThread();
#endif
// 5: after PXI
PUSH_PROFILE();