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:
Daniel Agar
2019-11-30 18:22:19 -05:00
committed by GitHub
parent db904839c3
commit 22a005c9f4
22 changed files with 0 additions and 132 deletions
-10
View File
@@ -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) {