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
1 changed files with 2 additions and 0 deletions

View File

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