Commit d17e8359 authored by Pavel Semerad's avatar Pavel Semerad
Browse files

added DGR key function to reset DIG mix to centre

parent 1a3d3a10
......@@ -3,6 +3,7 @@
minimum battery voltage set to 6V
CH3 key set default to OFF
added DGR key function to reset DIG mix to centre
*0.4.0 (18 Jul 2011)
......
......@@ -278,6 +278,7 @@ CnR - reset value of channel "n" to centre
4WS - switch crab (CRB) no-crab (NOC) for 4 wheel steering
DIG - switch DIG mix between -100 and 100 (more useable when using
return to previous val key setting)
DGR - reset DIG mix to centre
MPO - Multi-POsition, switches position up (at END back to 1.)
MPR - Multi-Position Reset, switches position to first one
......@@ -720,8 +720,9 @@ static const key_functions_s key_functions[] = {
#endif
{ 13, "4WS", KF_2STATE, kf_4ws, NULL },
{ 14, "DIG", KF_2STATE, kf_set_switch, NULL },
{ 15, "MPO", KF_NONE, kf_multi_position, NULL },
{ 16, "MPR", KF_NONE, kf_multi_position_reset, NULL },
{ 16, "MPO", KF_NONE, kf_multi_position, NULL },
{ 17, "MPR", KF_NONE, kf_multi_position_reset, NULL },
{ 15, "DGR", KF_NONE, kf_reset, "DIG" },
};
#define KEY_FUNCTIONS_SIZE (sizeof(key_functions) / sizeof(key_functions_s))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment