mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
parent
3a35bfbabf
commit
3e73b3de53
3 changed files with 17 additions and 15 deletions
|
@ -113,9 +113,9 @@
|
|||
|
||||
static float magGain[3] = { 1.0f, 1.0f, 1.0f };
|
||||
|
||||
static hmc5883Config_t *hmc5883Config = NULL;
|
||||
static const hmc5883Config_t *hmc5883Config = NULL;
|
||||
|
||||
bool hmc5883lDetect(mag_t* mag, hmc5883Config_t *hmc5883ConfigToUse)
|
||||
bool hmc5883lDetect(mag_t* mag, const hmc5883Config_t *hmc5883ConfigToUse)
|
||||
{
|
||||
bool ack = false;
|
||||
uint8_t sig = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue