ardupilot/libraries/AP_Compass
Thomas Watson b8d50b112a AP_Compass: fix C++ One Definition Rule violations
Two structs with the same name must have exactly the same definition, no
matter where they occur in the program, otherwise the program is undefined.

Move each sample register struct definition into the associated class
definition so they are in a different namespace and no longer
identically named, thus fixing this issue.
2023-11-21 13:21:03 +11:00
..
examples AP_Compass: regularise compass defines 2022-11-15 16:44:38 +11:00
AP_Compass.cpp AP_Compass: Add in QMC5883P Driver 2023-11-15 10:53:38 +11:00
AP_Compass.h AP_Compass: Add in QMC5883P Driver 2023-11-15 10:53:38 +11:00
AP_Compass_AK8963.cpp AP_Compass: fix C++ One Definition Rule violations 2023-11-21 13:21:03 +11:00
AP_Compass_AK8963.h AP_Compass: fix C++ One Definition Rule violations 2023-11-21 13:21:03 +11:00
AP_Compass_AK09916.cpp AP_Compass: fix C++ One Definition Rule violations 2023-11-21 13:21:03 +11:00
AP_Compass_AK09916.h AP_Compass: fix C++ One Definition Rule violations 2023-11-21 13:21:03 +11:00
AP_Compass_BMM150.cpp AP_Compass: add and use AP_COMPASS_BMM150_ENABLED 2023-02-09 17:52:52 +11:00
AP_Compass_BMM150.h AP_Compass: add and use AP_COMPASS_BMM150_ENABLED 2023-02-09 17:52:52 +11:00
AP_Compass_Backend.cpp AP_Compass: Fix some typos 2023-10-12 18:30:42 +11:00
AP_Compass_Backend.h AP_Compass: Add in QMC5883P Driver 2023-11-15 10:53:38 +11:00
AP_Compass_Calibration.cpp AP_Compass: Fix some typos 2023-10-12 18:30:42 +11:00
AP_Compass_DroneCAN.cpp AP_Compass: Fix some typos 2023-10-12 18:30:42 +11:00
AP_Compass_DroneCAN.h AP_Compass: fixes for macos CAN SITL build 2023-08-29 15:09:48 +10:00
AP_Compass_ExternalAHRS.cpp AP_Compass: regularise compass defines 2022-11-15 16:44:38 +11:00
AP_Compass_ExternalAHRS.h AP_Compass: regularise compass defines 2022-11-15 16:44:38 +11:00
AP_Compass_HMC5843.cpp AP_Compass: Fix some typos 2023-10-12 18:30:42 +11:00
AP_Compass_HMC5843.h AP_Compass: add and use AP_COMPASS_HMC5843_ENABLED 2023-02-01 18:47:37 +11:00
AP_Compass_IST8308.cpp AP_Compass: create and use AP_COMPASS_IST8308_ENABLED 2023-01-25 19:58:02 +11:00
AP_Compass_IST8308.h AP_Compass: create and use AP_COMPASS_IST8308_ENABLED 2023-01-25 19:58:02 +11:00
AP_Compass_IST8310.cpp AP_Compass: add and use AP_COMPASS_IST8310_ENABLED 2023-02-14 12:23:55 +11:00
AP_Compass_IST8310.h AP_Compass: allow override of IST8310 orientation 2023-08-06 09:23:45 +10:00
AP_Compass_LIS3MDL.cpp AP_Compass: add and use AP_COMPASS_LIS3MDL_ENABLED 2023-02-17 23:05:48 +11:00
AP_Compass_LIS3MDL.h AP_Compass: add and use AP_COMPASS_LIS3MDL_ENABLED 2023-02-17 23:05:48 +11:00
AP_Compass_LSM9DS1.cpp AP_Compass: fix C++ One Definition Rule violations 2023-11-21 13:21:03 +11:00
AP_Compass_LSM9DS1.h AP_Compass: fix C++ One Definition Rule violations 2023-11-21 13:21:03 +11:00
AP_Compass_LSM303D.cpp AP_Compass: add and use AP_COMPASS_LSM303D_ENABLED 2023-01-31 11:08:28 +11:00
AP_Compass_LSM303D.h AP_Compass: add and use AP_COMPASS_LSM303D_ENABLED 2023-01-31 11:08:28 +11:00
AP_Compass_MAG3110.cpp AP_Compass: add and use AP_COMPASS_MAG3110_ENABLED 2023-02-22 19:40:13 +11:00
AP_Compass_MAG3110.h AP_Compass: add and use AP_COMPASS_MAG3110_ENABLED 2023-02-22 19:40:13 +11:00
AP_Compass_MMC5xx3.cpp AP_Compass: Fix some typos 2023-10-12 18:30:42 +11:00
AP_Compass_MMC5xx3.h AP_Compass: add and use AP_COMPASS_MMC5XX3_ENABLED 2023-02-22 19:40:13 +11:00
AP_Compass_MMC3416.cpp AP_Compass: add and use AP_COMPASS_MMC3416 2023-02-22 19:40:13 +11:00
AP_Compass_MMC3416.h AP_Compass: add and use AP_COMPASS_MMC3416 2023-02-22 19:40:13 +11:00
AP_Compass_MSP.cpp AP_Compass: regularise compass defines 2022-11-15 16:44:38 +11:00
AP_Compass_MSP.h AP_Compass: regularise compass defines 2022-11-15 16:44:38 +11:00
AP_Compass_QMC5883L.cpp AP_Compass: add and use AP_COMPASS_QMC5883L_ENABLED 2023-02-22 19:40:13 +11:00
AP_Compass_QMC5883L.h AP_Compass: add and use AP_COMPASS_QMC5883L_ENABLED 2023-02-22 19:40:13 +11:00
AP_Compass_QMC5883P.cpp AP_Compass: Add in QMC5883P Driver 2023-11-15 10:53:38 +11:00
AP_Compass_QMC5883P.h AP_Compass: Add in QMC5883P Driver 2023-11-15 10:53:38 +11:00
AP_Compass_RM3100.cpp AP_Compass: add and use AP_COMPASS_RM3100_ENABLED 2023-02-22 19:40:13 +11:00
AP_Compass_RM3100.h AP_Compass: add and use AP_COMPASS_RM3100_ENABLED 2023-02-22 19:40:13 +11:00
AP_Compass_SITL.cpp AP_Compass: implement SIM_MAG_SAVE_IDS 2023-10-31 10:14:42 +11:00
AP_Compass_SITL.h AP_Compass: regularise compass defines 2022-11-15 16:44:38 +11:00
AP_Compass_config.h AP_Compass: Add in QMC5883P Driver 2023-11-15 10:53:38 +11:00
CompassCalibrator.cpp AP_Compass: correct compilation with COMPASS_CAL_ENABLED off 2023-09-19 16:54:59 +10:00
CompassCalibrator.h AP_Compass: Fix some typos 2023-10-12 18:30:42 +11:00
Compass_PerMotor.cpp
Compass_PerMotor.h
Compass_learn.cpp AP_Compass: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Compass_learn.h AP_Compass: switched to GSF based compass learning 2021-11-01 09:00:27 +11:00