speed up to initialize

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@249 4ee2a332-4b2b-5046-8439-1ba90f034370
This commit is contained in:
yutaka 2007-08-24 02:40:00 +00:00
parent e5aaf80616
commit 48d5840321

View File

@ -134,7 +134,7 @@ my $delay_format =<<'EOF';
EOF
my $pollreg_format =<<'EOF';
timeout = %5$s;%6$s
timeout = %5$s * %4$s;%6$s
while (1)
{
u16 data;
@ -142,7 +142,7 @@ my $pollreg_format =<<'EOF';
{
if (--timeout)
{
OS_Sleep(%4$s);
OS_Sleep(1);
continue;
}
DBG_PRINTF("Failed to poll a register! (%%d)\n", __LINE__);
@ -193,7 +193,7 @@ my $fieldclear_format =<<'EOF';
EOF
my $pollfield_format =<<'EOF';
timeout = %4$s;%5$s
timeout = %4$s * %3$s;%5$s
while (1)
{
u16 data;
@ -201,7 +201,7 @@ my $pollfield_format =<<'EOF';
{
if (--timeout)
{
OS_Sleep(%3$s);
OS_Sleep(1);
continue;
}
DBG_PRINTF("Failed to poll a register! (%%d)\n", __LINE__);