Open rmlearney opened 3 years ago
These are just warnings for now, but these calls will be depreciated in the future.
instead of
(uint64_t) timer.read_high_resolution_us();
use
(uint64_t) timer.elapsed_time().count();
and instead of
rtos::ThisThread::sleep_for(wait_time_ms);
use
rtos::ThisThread::sleep_for(mbed::chrono::milliseconds_u32(wait_time_ms));