Loading src/app/countertest/main.cc +5 −5 Original line number Diff line number Diff line Loading @@ -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(); Loading @@ -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(); Loading Loading
src/app/countertest/main.cc +5 −5 Original line number Diff line number Diff line Loading @@ -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(); Loading @@ -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(); Loading