Disable logging BMS

This commit is contained in:
Carsten Schmiemann 2022-04-17 14:14:33 +02:00
parent eb00521257
commit 3350c0ff1c
1 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ void OvmsVehicle::BmsSetCellLimitsTemperature(float min, float max)
void OvmsVehicle::BmsSetCellVoltage(int index, float value)
{
ESP_LOGV(TAG,"BmsSetCellVoltage(%d,%f) c=%d", index, value, m_bms_bitset_cv);
//ESP_LOGV(TAG,"BmsSetCellVoltage(%d,%f) c=%d", index, value, m_bms_bitset_cv);
if ((index<0)||(index>=m_bms_readings_v)) return;
if ((value<m_bms_limit_vmin)||(value>m_bms_limit_vmax)) return;
m_bms_voltages[index] = value;
@ -275,7 +275,7 @@ void OvmsVehicle::BmsSetCellVoltage(int index, float value)
void OvmsVehicle::BmsSetCellTemperature(int index, float value)
{
ESP_LOGV(TAG,"BmsSetCellTemperature(%d,%f) c=%d", index, value, m_bms_bitset_ct);
//ESP_LOGV(TAG,"BmsSetCellTemperature(%d,%f) c=%d", index, value, m_bms_bitset_ct);
if ((index<0)||(index>=m_bms_readings_t)) return;
if ((value<m_bms_limit_tmin)||(value>m_bms_limit_tmax)) return;
m_bms_temperatures[index] = value;