aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example-led/Makefile4
-rw-r--r--example-led/sample.c2
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++)