mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
changed int to float
This commit is contained in:
parent
df042ab20e
commit
92f15283c1
@ -490,7 +490,7 @@ static bool powerCheck(orb_advert_t *mavlink_log_pub, bool report_fail, bool pre
|
||||
if (hrt_elapsed_time(&system_power.timestamp) < 200000) {
|
||||
|
||||
/* copy avionics voltage */
|
||||
int avionics_power_rail_voltage = system_power.voltage5V_v;
|
||||
float avionics_power_rail_voltage = system_power.voltage5V_v;
|
||||
|
||||
// avionics rail
|
||||
// Check avionics rail voltages
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user