diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2013-06-05 17:39:23 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2013-06-05 17:39:23 +0900 |
commit | 4c151b5af366b82a8c532d3b864873e96ea23520 (patch) | |
tree | bcedf0d7cb5d59f766621ba8eea59e3eb864ebb0 /example-led | |
parent | 2fea34dd1c2224dad55b83700b944aa26c6cf9fc (diff) |
fix sample
Diffstat (limited to 'example-led')
-rw-r--r-- | example-led/Makefile | 4 | ||||
-rw-r--r-- | example-led/sample.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/example-led/Makefile b/example-led/Makefile index f06a274..2befa17 100644 --- a/example-led/Makefile +++ b/example-led/Makefile @@ -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 = diff --git a/example-led/sample.c b/example-led/sample.c index c89b2bc..d8a9ac6 100644 --- a/example-led/sample.c +++ b/example-led/sample.c @@ -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++) |