summaryrefslogtreecommitdiffstats
path: root/stm32/app/leds.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm32/app/leds.c')
-rw-r--r--stm32/app/leds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stm32/app/leds.c b/stm32/app/leds.c
index bcac9b6..b02e584 100644
--- a/stm32/app/leds.c
+++ b/stm32/app/leds.c
@@ -38,7 +38,7 @@ static void metric_pll (void)
v %= 864;
- // printf("M: %5u %9u\r\n",(unsigned) v, (unsigned ) (e.ns/1000000));
+ //printf("M: %5u %9u\r\n",(unsigned) v, (unsigned ) (e.ns/1000000));
ttg = 864 - (unsigned)v;
}
@@ -60,7 +60,7 @@ static void customary_pll (void)
last = ticks;
v = e.ns / 1000000;
- v %= 864;
+ v %= 1000;
ttg = 1000 - (unsigned)v;