diff options
| author | Keith Packard <keithp@keithp.com> | 2014-05-25 21:11:23 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-05-25 21:11:23 -0700 |
| commit | 3d5db24708b37d86eac187169e2553a408dfeb83 (patch) | |
| tree | 590deb5bddea98984909271a8e2c91f60bcc36af /src/drivers/ao_ms5607.h | |
| parent | 4df84dd5d007120f54cbda380789306608f2fc46 (diff) | |
altos: Make MS5607 PROM a public variable
This will let the fake flight code update it as necessary, without
creating a new interface in ao_ms5607.c
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_ms5607.h')
| -rw-r--r-- | src/drivers/ao_ms5607.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/drivers/ao_ms5607.h b/src/drivers/ao_ms5607.h index 206efd64..b58178fd 100644 --- a/src/drivers/ao_ms5607.h +++ b/src/drivers/ao_ms5607.h @@ -57,6 +57,7 @@ struct ao_ms5607_value { }; extern __xdata struct ao_ms5607_sample ao_ms5607_current; +extern __xdata struct ao_ms5607_prom ao_ms5607_prom; void ao_ms5607_setup(void); @@ -74,7 +75,4 @@ void ao_ms5607_convert(__xdata struct ao_ms5607_sample *sample, __xdata struct ao_ms5607_value *value); -void -ao_ms5607_get_prom(__data struct ao_ms5607_prom *prom); - #endif /* _AO_MS5607_H_ */ |
