Commit Graph
4 Commits
Author SHA1 Message Date
Peter Barker 1bd05a9ea3 AP_Compass: provide base class implementation for AP_Compass_Backend::read
... and use it for those that are currently identical
2026-03-17 13:06:50 +13:00
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
Jacob Dahl 64bb0ad762 AP_Compass: add IIS2MDC driver 2025-01-15 19:10:16 +11:00