mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-02 10:23:25 +08:00
In preparation for changing the regular `P` name to const, in preparation for auditing the code so that writes to the matrix keep its necessary numeric properties. Sadly there is not a better way than a per-file `#define` to make the switch. Making `P` a reference to `Pmut` substantially changes the compiler output. Defining `P` in the header file conflicts with other includes. Doing the rename at the top of each file allows each file to be fixed independently.