mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-13 18:57:35 +08:00
remove deprecated BAT_ params (#22872)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -240,7 +240,7 @@ int Batmon::get_batmon_startup_info()
|
||||
_cell_count = math::min((uint8_t)num_cells, (uint8_t)MAX_CELL_COUNT);
|
||||
|
||||
int32_t _num_cells = num_cells;
|
||||
param_set(param_find("BAT_N_CELLS"), &_num_cells);
|
||||
param_set(param_find("BAT1_N_CELLS"), &_num_cells);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user