From 9f5dbb74e7613c89ebac1e44a59f766a4f955d01 Mon Sep 17 00:00:00 2001 From: Siddharth Purohit Date: Sat, 2 Jun 2018 21:29:33 +0530 Subject: [PATCH] AP_IOMCU: move to using updated time conv API --- libraries/AP_IOMCU/AP_IOMCU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_IOMCU/AP_IOMCU.cpp b/libraries/AP_IOMCU/AP_IOMCU.cpp index f7c0797e9f..73f0634c4f 100644 --- a/libraries/AP_IOMCU/AP_IOMCU.cpp +++ b/libraries/AP_IOMCU/AP_IOMCU.cpp @@ -164,7 +164,7 @@ void AP_IOMCU::thread_main(void) trigger_event(IOEVENT_INIT); while (true) { - eventmask_t mask = chEvtWaitAnyTimeout(~0, MS2ST(10)); + eventmask_t mask = chEvtWaitAnyTimeout(~0, chTimeMS2I(10)); // check for pending IO events if (mask & EVENT_MASK(IOEVENT_SEND_PWM_OUT)) {