mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
check_param_names.py --fix only renamed members in the declaring file and its implementation file. Uses in other files, like the AFBRS50 calibration offsets in AFBRS50_Calibration.cpp, kept the old name and broke the build, while the declaration-only check still passed. --fix now looks for the old name in all tracked sources first. If it appears in a file whose stem does not declare it as its own parameter member, it skips that member, reports it for manual renaming and exits with an error. A real use can't be told apart from an unrelated member with the same name without a compiler, so it reports both.