AP_DAL: fixed distance in rangefinder data
thanks to Paul for noticing
This commit is contained in:
parent
8c59575646
commit
c1dded0483
@ -85,6 +85,7 @@ void AP_DAL_RangeFinder_Backend::start_frame(AP_RangeFinder_Backend *backend) {
|
||||
_RRNI.orientation = backend->orientation();
|
||||
_RRNI.status = (uint8_t)backend->status();
|
||||
_RRNI.pos_offset = backend->get_pos_offset();
|
||||
_RRNI.distance_cm = backend->distance_cm();
|
||||
WRITE_REPLAY_BLOCK_IFCHANGED(RRNI, _RRNI, old);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user