mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 19:23:34 +08:00
remove PX4_WARN if zero bytes are received
This commit is contained in:
committed by
Lorenz Meier
parent
bf6328001d
commit
42093a5ee1
@@ -101,11 +101,9 @@ void task_main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
if (newbytes == 0) {
|
||||
PX4_WARN("read nothing");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
const hrt_abstime now = hrt_absolute_time();
|
||||
|
||||
bool dsm_11_bit;
|
||||
|
||||
Reference in New Issue
Block a user