Rover: minor style correction on log

This commit is contained in:
khancyr 2017-07-18 12:34:59 +02:00 committed by Randy Mackay
parent 2321cefdc2
commit 707b006f76

View File

@ -335,7 +335,7 @@ void Rover::Log_Write_Rangefinder()
detected_count : obstacle.detected_count,
turn_angle : static_cast<int8_t>(obstacle.turn_angle),
turn_time : turn_time,
ground_speed : static_cast<uint16_t>(fabsf(ground_speed * 100)),
ground_speed : static_cast<uint16_t>(fabsf(ground_speed * 100.0f)),
throttle : int8_t(SRV_Channels::get_output_scaled(SRV_Channel::k_throttle))
};
DataFlash.WriteBlock(&pkt, sizeof(pkt));