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
@@ -464,12 +464,6 @@ void PGA460::print_diagnostics(const uint8_t diagnostic_byte)
}
}
int PGA460::print_status()
{
PX4_INFO("Distance: %2.2f", (double)_previous_valid_report_distance);
return PX4_OK;
}
int PGA460::print_usage(const char *reason)
{
if (reason) {
@@ -267,11 +267,6 @@ public:
*/
void print_diagnostics(const uint8_t diagnostic_byte);
/**
* Diagnostics - print some basic information about the driver.
*/
int print_status() override;
/**
* @brief Reads the threshold registers.
* @return Returns true if the threshold registers are set to default