Plane: log RFND packet for multiple rangefinders

This commit is contained in:
Andrew Tridgell 2015-09-10 20:26:48 +10:00
parent 1f287da70b
commit 73f454133b

View File

@ -367,6 +367,8 @@ void Plane::Log_Write_Sonar()
correction : rangefinder_state.correction correction : rangefinder_state.correction
}; };
DataFlash.WriteBlock(&pkt, sizeof(pkt)); DataFlash.WriteBlock(&pkt, sizeof(pkt));
DataFlash.Log_Write_RFND(rangefinder);
#endif #endif
} }