Skip to content

Commit ac11389

Browse files
committed
AP_Periph: send temp without converting to kalvin -- do not merge
1 parent 2703b79 commit ac11389

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tools/AP_Periph/battery.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ void AP_Periph_FW::can_battery_update(void)
5151
if (battery_lib.get_temperature(temperature, i)) {
5252
// Battery lib reports temperature in Celsius.
5353
// Convert Celsius to Kelvin for transmission on CAN.
54-
pkt.temperature = C_TO_KELVIN(temperature);
54+
//pkt.temperature = C_TO_KELVIN(temperature);
55+
pkt.temperature = temperature;
5556
}
5657

5758
// Populate state of health

0 commit comments

Comments
 (0)