fix sample

This commit is contained in:
NIIBE Yutaka
2013-06-05 17:39:23 +09:00
parent 2fea34dd1c
commit 4c151b5af3
2 changed files with 3 additions and 3 deletions

View File

@@ -14,8 +14,8 @@ OBJCOPY = $(CROSS)objcopy
MCU = cortex-m3
CWARN = -Wall -Wextra -Wstrict-prototypes
# DEFS = -DFREE_STANDING
DEFS = -DFREE_STANDING -DBUSY_LOOP -DCHX_FLAGS_MAIN=CHOPSTX_SCHED_RR
DEFS = -DFREE_STANDING
# DEFS = -DFREE_STANDING -DBUSY_LOOP -DCHX_FLAGS_MAIN=CHOPSTX_SCHED_RR
OPT = -O3 -Os -g
LIBS =

View File

@@ -14,7 +14,7 @@ static void
wait_for (uint32_t usec)
{
#if defined(BUSY_LOOP)
uint32_t count = usec *18;
uint32_t count = usec * 6;
uint32_t i;
for (i = 0; i < count; i++)