mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 08:36:08 +08:00
changed int to float
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user