@ -289,8 +289,8 @@ float battery_remaining_estimate_voltage(float voltage, float discharged, float
static param_t bat_n_cells_h ;
static param_t bat_n_cells_h ;
static param_t bat_capacity_h ;
static param_t bat_capacity_h ;
static param_t bat_v_load_drop_h ;
static param_t bat_v_load_drop_h ;
static float bat_v_empty = 3.2 f ;
static float bat_v_empty = 3.4 f ;
static float bat_v_full = 4.0 f ;
static float bat_v_full = 4.2 f ;
static float bat_v_load_drop = 0.1f ;
static float bat_v_load_drop = 0.1f ;
static int bat_n_cells = 3 ;
static int bat_n_cells = 3 ;
static float bat_capacity = - 1.0f ;
static float bat_capacity = - 1.0f ;
@ -299,7 +299,7 @@ float battery_remaining_estimate_voltage(float voltage, float discharged, float
if ( ! initialized ) {
if ( ! initialized ) {
bat_v_empty_h = param_find ( " BAT_V_EMPTY " ) ;
bat_v_empty_h = param_find ( " BAT_V_EMPTY " ) ;
bat_v_full_h = param_find ( " BAT_V_FULL " ) ;
bat_v_full_h = param_find ( " BAT_V_CHARGED " ) ;
bat_n_cells_h = param_find ( " BAT_N_CELLS " ) ;
bat_n_cells_h = param_find ( " BAT_N_CELLS " ) ;
bat_capacity_h = param_find ( " BAT_CAPACITY " ) ;
bat_capacity_h = param_find ( " BAT_CAPACITY " ) ;
bat_v_load_drop_h = param_find ( " BAT_V_LOAD_DROP " ) ;
bat_v_load_drop_h = param_find ( " BAT_V_LOAD_DROP " ) ;