mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 15:38:29 -04:00
ecd204c45c
We should never include version.h or ap_version.h headers directly on a header since this will trigger a complete rebuild of the codebase when we commit to the repository. The ap_version.h header is auto-generated containing information from the current commit. If we include it in a header, every other file that ends up including that header (directly or indirectly) will need to be rebuilt. No ccache's cache beats having to do nothing when the header is just not included. version.h contains information that is kept on a struct inside each vehicle. Rather than using the macros from each vehicle, the getter should be preferred, which returns an AP_FWVersion referente. |
||
---|---|---|
.. | ||
AntennaTracker.cpp | ||
AntennaTracker.txt | ||
APM_Config.h | ||
capabilities.cpp | ||
config.h | ||
control_auto.cpp | ||
control_manual.cpp | ||
control_scan.cpp | ||
control_servo_test.cpp | ||
defines.h | ||
GCS_Mavlink.cpp | ||
GCS_Mavlink.h | ||
GCS_Tracker.cpp | ||
GCS_Tracker.h | ||
Log.cpp | ||
make.inc | ||
Makefile | ||
Parameters.cpp | ||
Parameters.h | ||
Parameters.pde | ||
radio.cpp | ||
ReleaseNotes.txt | ||
sensors.cpp | ||
servos.cpp | ||
system.cpp | ||
Tracker.h | ||
tracking.cpp | ||
version.cpp | ||
version.h | ||
wscript |