Rover: tidy sending of WATER_DEPTH messages
This commit is contained in:
parent
031e5b1dab
commit
84afe993d7
@ -78,8 +78,10 @@ void Rover::Log_Write_Depth()
|
||||
(double)(s->distance()),
|
||||
temp_C);
|
||||
}
|
||||
#if AP_RANGEFINDER_ENABLED
|
||||
// send water depth and temp to ground station
|
||||
gcs().send_message(MSG_WATER_DEPTH);
|
||||
#endif
|
||||
}
|
||||
|
||||
// guided mode logging
|
||||
|
Loading…
Reference in New Issue
Block a user