mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Rover: Fix INS test in CLI to quit on enter
The curly brace was in the wrong spot.
This commit is contained in:
parent
324473a15b
commit
3831a0ed3e
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user