mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 09:07: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.pulse_width,
|
||||
(unsigned)buf.error_count);
|
||||
} else {
|
||||
/* no data, retry in 2 ms */
|
||||
::usleep(2000);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user