Rover: log STER dataflash message regardless of mode

It is useful to at least have the pilot's steering in request even in manual modes
This commit is contained in:
Randy Mackay 2017-12-08 10:59:52 +09:00
parent 5f62cde550
commit de196f818d
1 changed files with 1 additions and 3 deletions

View File

@ -269,10 +269,8 @@ void Rover::update_logging1(void)
void Rover::update_logging2(void)
{
if (should_log(MASK_LOG_STEERING)) {
if (!control_mode->manual_steering()) {
Log_Write_Steering();
}
}
if (should_log(MASK_LOG_RC)) {
Log_Write_RC();