summaryrefslogtreecommitdiff
path: root/src/drivers/ao_max6691.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/ao_max6691.h')
-rw-r--r--src/drivers/ao_max6691.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/ao_max6691.h b/src/drivers/ao_max6691.h
index ab8207f9..b6186daf 100644
--- a/src/drivers/ao_max6691.h
+++ b/src/drivers/ao_max6691.h
@@ -17,15 +17,14 @@
#define AO_MAX6691_CHANNELS 4
-struct ao_max6691 {
+struct ao_max6691_sample {
struct {
uint16_t t_high;
uint16_t t_low;
} sensor[AO_MAX6691_CHANNELS];
};
-void
-ao_max6691_sample(struct ao_max6691 *ao_max6691);
+extern struct ao_max6691_sample ao_max6691_current;
void
ao_max6691_init(void);