X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fdrivers%2Fao_max6691.h;h=b6186daf74d7ef04664d93f0e0370869e2718b0f;hp=ab8207f9c7cabc0cd868aa3b3f3a0cc8adebc204;hb=83823e4ee901edb893db68e36deb2b92ffec3958;hpb=188f9efadd480de872f86a8eb741e8738db84c6b 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);