mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 13:43:35 +08:00
delete module's redundant print_status()
- we can already get the running status from ModuleBase and the other misc information is already available through perf or uORB
This commit is contained in:
@@ -84,9 +84,6 @@ public:
|
||||
/** @see ModuleBase */
|
||||
static int print_usage(const char *reason = nullptr);
|
||||
|
||||
/** @see ModuleBase::print_status() */
|
||||
int print_status() override;
|
||||
|
||||
void start();
|
||||
|
||||
private:
|
||||
@@ -307,13 +304,6 @@ void LoadMon::_stack_usage()
|
||||
}
|
||||
#endif
|
||||
|
||||
int LoadMon::print_status()
|
||||
{
|
||||
PX4_INFO("running");
|
||||
perf_print_counter(_stack_perf);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int LoadMon::print_usage(const char *reason)
|
||||
{
|
||||
if (reason) {
|
||||
|
||||
Reference in New Issue
Block a user