mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
ランチャーのスリープ処理をデフォルト有効に。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1125 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
df5127d02f
commit
c7512bd914
@ -21,7 +21,7 @@
|
|||||||
#include "logoDemo.h"
|
#include "logoDemo.h"
|
||||||
#include "sound.h"
|
#include "sound.h"
|
||||||
|
|
||||||
//#define ENABLE_SLEEP
|
//#define DISABLE_SLEEP
|
||||||
|
|
||||||
// extern data-----------------------------------------------------------------
|
// extern data-----------------------------------------------------------------
|
||||||
|
|
||||||
@ -316,13 +316,13 @@ void TwlMain( void )
|
|||||||
// コマンドフラッシュ
|
// コマンドフラッシュ
|
||||||
(void)SND_FlushCommand(SND_COMMAND_NOBLOCK);
|
(void)SND_FlushCommand(SND_COMMAND_NOBLOCK);
|
||||||
|
|
||||||
#ifdef ENABLE_SLEEP
|
#ifndef DISABLE_SLEEP
|
||||||
// スリープモードへの遷移
|
// スリープモードへの遷移
|
||||||
if ( PAD_DetectFold() )
|
if ( PAD_DetectFold() )
|
||||||
{
|
{
|
||||||
SYSM_GoSleepMode();
|
SYSM_GoSleepMode();
|
||||||
}
|
}
|
||||||
#endif // ENABLE_SLEEP
|
#endif // DISABLE_SLEEP
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user