mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 04:53:33 +08:00
Added backtrace function
Added PX4_BACKTRACE() to display stack trace for debugging Added backtrace for HRT reschedule with 0 timeout Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
committed by
Lorenz Meier
parent
cbbb6a0e59
commit
8e82ced5a4
@@ -165,6 +165,7 @@ static void hrt_work_process()
|
||||
|
||||
if (!worker) {
|
||||
PX4_ERR("MESSED UP: worker = 0");
|
||||
PX4_BACKTRACE();
|
||||
|
||||
} else {
|
||||
worker(arg);
|
||||
|
||||
Reference in New Issue
Block a user