From e0eeeb389302c3050310ac8e618119384ce0fef8 Mon Sep 17 00:00:00 2001 From: Gergő J. Miklós Date: Mon, 13 May 2019 00:49:29 +0200 Subject: LM75 refactored --- src/hih61xx.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/hih61xx.h') diff --git a/src/hih61xx.h b/src/hih61xx.h index f0def27..8675562 100644 --- a/src/hih61xx.h +++ b/src/hih61xx.h @@ -1,6 +1,8 @@ #ifndef _HIH61XX_INCLUDED #define _HIH61xx_INCLUDED + +#include "deftypes.h" /* extern int file; @@ -10,11 +12,11 @@ void hih61xx_read_all(const char *opts); */ void hih61xx_print_all(void); void hih61xx_get_data(void); -void hih61xx_conf_set(const char *opts); +void hih61xx_conf_set(const uchar *opts); unsigned char hih61xx_read_status(void); float hih61xx_calc_humidity(float offset); float hih61xx_read_temp(float offset); -void hih61xx_read_all(const char *opts); -void hih61xx_read_one(const char *opts); +void hih61xx_read_all(const uchar *opts); +void hih61xx_read_one(const uchar *opts); #endif \ No newline at end of file -- cgit v1.2.3