mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 01:13:33 +08:00
Mavlink: fixed temperature for batteries (#12605)
This commit is contained in:
committed by
Daniel Agar
parent
959a35b3bd
commit
39a5799e65
@@ -97,6 +97,8 @@ Battery::updateBatteryStatus(hrt_abstime timestamp, float voltage_v, float curre
|
||||
battery_status->system_source = selected_source;
|
||||
battery_status->priority = priority;
|
||||
}
|
||||
|
||||
battery_status->temperature = NAN;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user