mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 05:33:33 +08:00
px4io: set reasonable default voltage scaling
needed for when px4 param system not available in ardupilot
This commit is contained in:
committed by
Lorenz Meier
parent
5928569321
commit
85e8cd89b6
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user