diff options
author | Keith Packard <keithp@keithp.com> | 2013-08-28 22:52:58 -0600 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-08-28 22:52:58 -0600 |
commit | dcc51bb18985c24fa35bce0dd42ea3d847b960bf (patch) | |
tree | 652c06c900b01b3c43f674e0f121109cc54b1120 /src/drivers/ao_ms5607.h | |
parent | 7c82acc1c1c5b7b4da7c7ecb3b2fd90140e4c703 (diff) | |
parent | a73b02518fcbc9fc0807ed8e141d3a06e8ad8214 (diff) |
Merge remote-tracking branch 'origin/telemini'
Signed-off-by: Keith Packard <keithp@keithp.com>
Conflicts:
src/core/ao_telemetry.c
src/core/ao_telemetry.h
Added both Mini and Metrum telemetry defines
Diffstat (limited to 'src/drivers/ao_ms5607.h')
-rw-r--r-- | src/drivers/ao_ms5607.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/drivers/ao_ms5607.h b/src/drivers/ao_ms5607.h index b2f98a59..206efd64 100644 --- a/src/drivers/ao_ms5607.h +++ b/src/drivers/ao_ms5607.h @@ -56,7 +56,7 @@ struct ao_ms5607_value { int32_t temp; /* in °C * 100 */ }; -extern struct ao_ms5607_sample ao_ms5607_current; +extern __xdata struct ao_ms5607_sample ao_ms5607_current; void ao_ms5607_setup(void); @@ -68,12 +68,13 @@ void ao_ms5607_info(void); void -ao_ms5607_sample(struct ao_ms5607_sample *sample); +ao_ms5607_sample(__xdata struct ao_ms5607_sample *sample); void -ao_ms5607_convert(struct ao_ms5607_sample *sample, struct ao_ms5607_value *value); +ao_ms5607_convert(__xdata struct ao_ms5607_sample *sample, + __xdata struct ao_ms5607_value *value); void -ao_ms5607_get_prom(struct ao_ms5607_prom *prom); +ao_ms5607_get_prom(__data struct ao_ms5607_prom *prom); #endif /* _AO_MS5607_H_ */ |