battery: omit separate publish() function

This commit is contained in:
Matthias Grob
2021-07-01 14:24:38 +02:00
parent 9c0c85c9e2
commit 8d74e52bb7
2 changed files with 2 additions and 12 deletions
-5
View File
@@ -155,11 +155,6 @@ protected:
bool _first_parameter_update{true};
void updateParams() override;
/**
* Publishes the uORB battery_status message with the most recently-updated data.
*/
void publish();
/**
* This function helps migrating and syncing from/to deprecated parameters. BAT_* BAT1_*
* @tparam T Type of the parameter (int or float)