Browse Source

AP_IOMCU: conform to new time conversion API

master
Siddharth Purohit 7 years ago committed by Andrew Tridgell
parent
commit
605e0de03c
  1. 2
      libraries/AP_IOMCU/iofirmware/iofirmware.cpp

2
libraries/AP_IOMCU/iofirmware/iofirmware.cpp

@ -141,7 +141,7 @@ void AP_IOMCU_FW::init() @@ -141,7 +141,7 @@ void AP_IOMCU_FW::init()
void AP_IOMCU_FW::update()
{
eventmask_t mask = chEvtWaitAnyTimeout(~0, MS2ST(1));
eventmask_t mask = chEvtWaitAnyTimeout(~0, chTimeMS2I(1));
if (do_reboot && (AP_HAL::millis() > reboot_time)) {
hal.scheduler->reboot(true);

Loading…
Cancel
Save