Sleep time is not corrected in Turbo mode

When in turbo mode, the time for things like sleep_until() are running 2x speed. such as:

using namespace std::chrono_literals;

rtos::ThisThread::sleep_until(5ms);

only sleeps for 2.5ms. All works properly when NOT in turbo mode…

Using an Artemis ATP and library 2.2.1.

Odd - file an issue here https://github.com/sparkfun/Arduino_Apollo3/issues

In the meantime I would just double the input used as a janky workaround :wink:

Issue submitted… I did just double to work around.

https://github.com/sparkfun/Arduino_Apollo3/issues/495