summaryrefslogtreecommitdiff
path: root/src/app/countertest/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/countertest/main.cc')
-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;