mirror of https://github.com/ARMmbed/mbed-os.git
143765137e
test_case_2x_callbacks test was redesigned to eliminate ticker rescheduling and improve time mesure accuracy. Constant ticker rescheduling (detach()/attach_us() calls) was causing the gap between consecutive callback calls was not exact 1ms but 1ms + time needed to call the callback and attach new one. New design just uses two tickers to update counter alternatively every 1ms without rescheduling them |
||
---|---|---|
.. | ||
main.cpp |