1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00

Configurable compass drivers based on jflyper's PR #3613

Eliminate static variables in mag drivers
AK8975 and HMC5883l driver cleanup
replace magic numbers with definitions
Switched AK8963/Ak8975 to 16 bit mode
Update Mag gain calculations to use integer varables (ledvinap
recomendation)
Update interrupt handling for HMC5883L
Reschedule compass task only if slave mode is realy active
Change bustye definitions to an enumeration set
Fix dispatch functions and remove redundant dispatch functions from Baro
and Mag drivers 
Fix unittest
This commit is contained in:
Michael Jakob 2017-10-06 07:43:02 +02:00
parent 316845227d
commit 60b8e0f05e
28 changed files with 721 additions and 725 deletions

View file

@ -52,6 +52,7 @@ const char * const ownerNames[OWNER_TOTAL_COUNT] = {
"SPI_CS",
"MPU_EXTI",
"BARO_EXTI",
"COMPASS_EXTI",
"USB",
"USB_DETECT",
"BEEPER",