mirror of https://github.com/ArduPilot/ardupilot
Enabled the compass test
This commit is contained in:
parent
ffa69f43ec
commit
3dc43c21af
|
@ -30,7 +30,7 @@ static int8_t test_current(uint8_t argc, const Menu::arg *argv);
|
||||||
//static int8_t test_relay(uint8_t argc, const Menu::arg *argv);
|
//static int8_t test_relay(uint8_t argc, const Menu::arg *argv);
|
||||||
static int8_t test_wp(uint8_t argc, const Menu::arg *argv);
|
static int8_t test_wp(uint8_t argc, const Menu::arg *argv);
|
||||||
static int8_t test_baro(uint8_t argc, const Menu::arg *argv);
|
static int8_t test_baro(uint8_t argc, const Menu::arg *argv);
|
||||||
//static int8_t test_mag(uint8_t argc, const Menu::arg *argv);
|
static int8_t test_mag(uint8_t argc, const Menu::arg *argv);
|
||||||
static int8_t test_sonar(uint8_t argc, const Menu::arg *argv);
|
static int8_t test_sonar(uint8_t argc, const Menu::arg *argv);
|
||||||
#ifdef OPTFLOW_ENABLED
|
#ifdef OPTFLOW_ENABLED
|
||||||
static int8_t test_optflow(uint8_t argc, const Menu::arg *argv);
|
static int8_t test_optflow(uint8_t argc, const Menu::arg *argv);
|
||||||
|
@ -87,7 +87,7 @@ const struct Menu::command test_menu_commands[] PROGMEM = {
|
||||||
#if CONFIG_SONAR == ENABLED
|
#if CONFIG_SONAR == ENABLED
|
||||||
{"sonar", test_sonar},
|
{"sonar", test_sonar},
|
||||||
#endif
|
#endif
|
||||||
//{"compass", test_mag},
|
{"compass", test_mag},
|
||||||
#ifdef OPTFLOW_ENABLED
|
#ifdef OPTFLOW_ENABLED
|
||||||
{"optflow", test_optflow},
|
{"optflow", test_optflow},
|
||||||
#endif
|
#endif
|
||||||
|
@ -894,9 +894,9 @@ test_baro(uint8_t argc, const Menu::arg *argv)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
|
||||||
static int8_t
|
static int8_t
|
||||||
//test_mag(uint8_t argc, const Menu::arg *argv)
|
test_mag(uint8_t argc, const Menu::arg *argv)
|
||||||
{
|
{
|
||||||
if(g.compass_enabled) {
|
if(g.compass_enabled) {
|
||||||
//Serial.printf_P(PSTR("MAG_ORIENTATION: %d\n"), MAG_ORIENTATION);
|
//Serial.printf_P(PSTR("MAG_ORIENTATION: %d\n"), MAG_ORIENTATION);
|
||||||
|
@ -924,7 +924,7 @@ static int8_t
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
/*
|
/*
|
||||||
static int8_t
|
static int8_t
|
||||||
//test_reverse(uint8_t argc, const Menu::arg *argv)
|
//test_reverse(uint8_t argc, const Menu::arg *argv)
|
||||||
|
|
Loading…
Reference in New Issue