mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-24 16:53:57 -04:00
Missed saving frame orientation.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2346 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
4764bf9b63
commit
9336c28e2a
@ -260,9 +260,9 @@ static int8_t
|
||||
setup_frame(uint8_t argc, const Menu::arg *argv)
|
||||
{
|
||||
if (!strcmp_P(argv[1].str, PSTR("x"))) {
|
||||
|
||||
g.frame_orientation = X_FRAME;
|
||||
} else if (!strcmp_P(argv[1].str, PSTR("p"))) {
|
||||
|
||||
g.frame_orientation = PLUS_FRAME;
|
||||
}else{
|
||||
Serial.printf_P(PSTR("\nOptions:[x,p]\n"));
|
||||
report_frame();
|
||||
|
Loading…
Reference in New Issue
Block a user