summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-08 11:56:20 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-08 11:56:20 +0100
commitb0f6217a794d3a7c1eb8cde6f20cd001f3318de9 (patch)
tree65ff24f1597c90f1417dc7ee6656495d54bfc42c /src
parentcd7ee540291f7412153ee9fa1e785cc859c589fe (diff)
...
Diffstat (limited to 'src')
-rw-r--r--src/app/countertest/main.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/app/countertest/main.cc b/src/app/countertest/main.cc
index 85ac7ce..ad560e5 100644
--- a/src/app/countertest/main.cc
+++ b/src/app/countertest/main.cc
@@ -10,11 +10,6 @@ void loop(void)
kout << "nop: " << counter.value << "/" << counter.overflow << endl;
counter.start();
- arch.delay_ms(1);
- counter.stop();
- kout << "1ms: " << counter.value << "/" << counter.overflow << endl;
-
- counter.start();
arch.delay_us(10);
counter.stop();
kout << "10us: " << counter.value << "/" << counter.overflow << endl;
@@ -25,6 +20,11 @@ void loop(void)
kout << "20us: " << counter.value << "/" << counter.overflow << endl;
counter.start();
+ arch.delay_ms(1);
+ counter.stop();
+ kout << "1ms: " << counter.value << "/" << counter.overflow << endl;
+
+ counter.start();
arch.delay_ms(2);
counter.stop();
kout << "2ms: " << counter.value << "/" << counter.overflow << endl;