changed int to float

This commit is contained in:
Jake Dahl 2018-05-04 09:11:19 -06:00 committed by Daniel Agar
parent df042ab20e
commit 92f15283c1

View File

@ -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