Skip to content

Commit

Permalink
fixing values
Browse files Browse the repository at this point in the history
  • Loading branch information
yashtheboss committed Jul 15, 2024
1 parent e58238f commit 9fd549f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions car-bsp/DataModules/src/CustomBMS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ void CustomBMSRx0::FromByteArray(uint8_t* buff) {
}

float CustomBMSRx0::GetPackVoltage() const {
return pack_voltage_ * 1e-3;
return pack_voltage_ * 1e-2;
}

float CustomBMSRx0::GetAvgCellVoltage() const {
return avg_cell_voltage_ * 1e-4;
return avg_cell_voltage_ * 1e-3;
}

float CustomBMSRx0::GetHighCellVoltage() const {
return high_cell_voltage_ * 1e-4;
return high_cell_voltage_ * 1e-3;
}

float CustomBMSRx0::GetLowCellVoltage() const {
return low_cell_voltage_ * 1e-4;
return low_cell_voltage_ * 1e-3;
}

#ifdef IS_TELEMETRY
Expand Down

0 comments on commit 9fd549f

Please sign in to comment.