mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-21 21:50:35 +08:00
PWMin: Fix test cmd
This commit is contained in:
@@ -599,6 +599,9 @@ static void pwmin_test(void)
|
|||||||
(unsigned)buf.period,
|
(unsigned)buf.period,
|
||||||
(unsigned)buf.pulse_width,
|
(unsigned)buf.pulse_width,
|
||||||
(unsigned)buf.error_count);
|
(unsigned)buf.error_count);
|
||||||
|
} else {
|
||||||
|
/* no data, retry in 2 ms */
|
||||||
|
::usleep(2000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user