Rover: Fix INS test in CLI to quit on enter

The curly brace was in the wrong spot.
This commit is contained in:
Grant 2014-11-15 13:29:25 +11:00 committed by Andrew Tridgell
parent 324473a15b
commit 3831a0ed3e
1 changed files with 3 additions and 3 deletions

View File

@ -371,9 +371,9 @@ test_ins(uint8_t argc, const Menu::arg *argv)
(uint16_t)ahrs.yaw_sensor / 100,
gyros.x, gyros.y, gyros.z,
accels.x, accels.y, accels.z);
}
if(cliSerial->available() > 0){
return (0);
if(cliSerial->available() > 0){
return (0);
}
}
}