mirror of https://github.com/ArduPilot/ardupilot
3a79ae4eca
This avoids creating two pointers of different types to the same memory. Having two pointers to the same memory can lead to the compiler optimising code such that a write to one pointer is rearranged to be either before or after a read from the other pointer depending on which is deemed faster - not a good outcome. |
||
---|---|---|
.. | ||
AP_NavEKF2.cpp | ||
AP_NavEKF2.h | ||
AP_NavEKF2_AirDataFusion.cpp | ||
AP_NavEKF2_Buffer.h | ||
AP_NavEKF2_Control.cpp | ||
AP_NavEKF2_MagFusion.cpp | ||
AP_NavEKF2_Measurements.cpp | ||
AP_NavEKF2_OptFlowFusion.cpp | ||
AP_NavEKF2_Outputs.cpp | ||
AP_NavEKF2_PosVelFusion.cpp | ||
AP_NavEKF2_RngBcnFusion.cpp | ||
AP_NavEKF2_VehicleStatus.cpp | ||
AP_NavEKF2_core.cpp | ||
AP_NavEKF2_core.h | ||
AP_NavEKF_GyroBias.cpp |