mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 07:33:35 +08:00
Remove all leftover PX4_BACKTRACE calls
This commit is contained in:
@@ -196,7 +196,6 @@ extern "C" {
|
||||
PX4_WARN("failed getting thread name");
|
||||
}
|
||||
|
||||
PX4_BACKTRACE();
|
||||
#endif
|
||||
|
||||
ret = -ENOENT;
|
||||
|
||||
@@ -177,7 +177,6 @@ static void hrt_work_process()
|
||||
|
||||
if (!worker) {
|
||||
PX4_ERR("MESSED UP: worker = 0");
|
||||
PX4_BACKTRACE();
|
||||
|
||||
} else {
|
||||
worker(arg);
|
||||
|
||||
@@ -72,7 +72,6 @@ __END_DECLS
|
||||
****************************************************************************/
|
||||
#define PX4_INFO(FMT, ...) qurt_log(_PX4_LOG_LEVEL_INFO, __FILE__, __LINE__, FMT, ##__VA_ARGS__)
|
||||
#define PX4_INFO_RAW(FMT, ...) __px4_log_omit(_PX4_LOG_LEVEL_INFO, FMT, ##__VA_ARGS__)
|
||||
#define PX4_BACKTRACE()
|
||||
|
||||
#if defined(TRACE_BUILD)
|
||||
/****************************************************************************
|
||||
@@ -141,7 +140,6 @@ __attribute__((format(printf, 2, 3)));
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#define PX4_BACKTRACE() px4_backtrace()
|
||||
|
||||
/****************************************************************************
|
||||
* Implementation of log section formatting based on printf
|
||||
|
||||
Reference in New Issue
Block a user