Skip to content
Snippets Groups Projects
Commit 01fdd00c authored by Julian Oes's avatar Julian Oes
Browse files

init.d-posix: $ is apparently not needed here

parent ffeeedc3
No related branches found
No related tags found
No related merge requests found
......@@ -162,15 +162,15 @@ fi
# Adapt timeout parameters if simulation runs faster or slower than realtime.
if [ ! -z $PX4_SIM_SPEED_FACTOR ]; then
COM_DL_LOSS_T_LONGER=$(($PX4_SIM_SPEED_FACTOR * 10))
COM_DL_LOSS_T_LONGER=$((PX4_SIM_SPEED_FACTOR * 10))
echo "COM_DL_LOSS_T set to $COM_DL_LOSS_T_LONGER"
param set COM_DL_LOSS_T $COM_DL_LOSS_T_LONGER
COM_RC_LOSS_T_LONGER=$(($PX4_SIM_SPEED_FACTOR * 1))
COM_RC_LOSS_T_LONGER=$((PX4_SIM_SPEED_FACTOR * 1))
echo "COM_RC_LOSS_T set to $COM_RC_LOSS_T_LONGER"
param set COM_RC_LOSS_T $COM_RC_LOSS_T_LONGER
COM_OF_LOSS_T_LONGER=$(($PX4_SIM_SPEED_FACTOR * 10))
COM_OF_LOSS_T_LONGER=$((PX4_SIM_SPEED_FACTOR * 10))
echo "COM_OF_LOSS_T set to $COM_OF_LOSS_T_LONGER"
param set COM_OF_LOSS_T $COM_OF_LOSS_T_LONGER
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment