mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
LL40S: Remove printf in interrupt context
This commit is contained in:
parent
a4f1970775
commit
4e2bcf3315
@ -375,7 +375,6 @@ PWMIN::_freeze_test()
|
||||
{
|
||||
/* reset if last poll time was way back and a read was recently requested */
|
||||
if (hrt_elapsed_time(&_last_poll_time) > TIMEOUT_POLL && hrt_elapsed_time(&_last_read_time) < TIMEOUT_READ) {
|
||||
warnx("Lidar is down, reseting");
|
||||
hard_reset();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user