summaryrefslogtreecommitdiff
path: root/src/stm
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm')
-rw-r--r--src/stm/ao_adc_stm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm/ao_adc_stm.c b/src/stm/ao_adc_stm.c
index 71299de9..ed1d20c9 100644
--- a/src/stm/ao_adc_stm.c
+++ b/src/stm/ao_adc_stm.c
@@ -60,7 +60,7 @@ static void ao_adc_done(int index)
#if HAS_MS5607
if (!ao_ms5607_valid)
step = 0;
- ao_data_ring[ao_data_head].ms5607 = ao_ms5607_current;
+ ao_data_ring[ao_data_head].ms5607_raw = ao_ms5607_current;
#endif
#if HAS_HMC5883
if (!ao_hmc5883_valid)