px4io: set reasonable default voltage scaling

needed for when px4 param system not available in ardupilot
This commit is contained in:
Andrew Tridgell
2016-04-18 11:39:37 +02:00
committed by Lorenz Meier
parent 5928569321
commit 85e8cd89b6
+1 -1
View File
@@ -1076,7 +1076,7 @@ PX4IO::task_main()
io_set_rc_config();
/* re-set the battery scaling */
int32_t voltage_scaling_val;
int32_t voltage_scaling_val = 10000;
param_t voltage_scaling_param;
/* set battery voltage scaling */