diff --git a/src/app/countertest/main.cc b/src/app/countertest/main.cc index 85ac7ceffbd46f18f6433e34c20123ee00446e70..ad560e57a9ad9e7b384ebfcabad1d77f9791ae5b 100644 --- a/src/app/countertest/main.cc +++ b/src/app/countertest/main.cc @@ -9,11 +9,6 @@ void loop(void) counter.stop(); 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(); @@ -24,6 +19,11 @@ void loop(void) counter.stop(); 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();