diff options
Diffstat (limited to 'driver/mag_lis2mdl.h')
-rw-r--r-- | driver/mag_lis2mdl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/mag_lis2mdl.h b/driver/mag_lis2mdl.h index fb50b9712a..a7c47ec00e 100644 --- a/driver/mag_lis2mdl.h +++ b/driver/mag_lis2mdl.h @@ -62,7 +62,7 @@ struct lis2mdl_private_data { #ifndef CONFIG_LSM6DSM_SEC_I2C struct stprivate_data data; #endif -#ifdef CONFIG_MAG_BMI160_LIS2MDL +#ifdef CONFIG_MAG_BMI_LIS2MDL intv3_t hn; /* last sample for offset compensation */ int hn_valid; #endif |