Commit Graph
6 Commits
Author SHA1 Message Date
Peter Barker 4aa5b58de6 AP_Compass: all backends take a generic Device rather than an I2CDevice 2025-12-10 21:49:48 +11:00
Peter Barker dabcf0e91c AP_Compass: make compass instance number part of AP_Compass_Backend
rather than each backend storing this itself.

This allows many methods to assume that they are working on the current instance number rather than being passed the instance number

registering the compass via the compass backend method now infers setting the device ID
2025-10-14 14:48:58 +11:00
muramura 1e791e9dcd AP_Compass: Remove the external reference to HAL 2025-05-06 08:39:32 +10:00
Andrew Tridgell 991ea6326d AP_Compass: cleanup warnings in printf calls 2024-07-11 09:34:29 +10:00
Andrew Tridgell 0f08b47322 AP_Compass: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Jonathan Loong 0db1719c8f AP_Compass: Add in QMC5883P Driver 2023-11-15 10:53:38 +11:00