From d8d87351acd4a8fef65db6a59993cbac99dc3bab Mon Sep 17 00:00:00 2001 From: Gergő J. Miklós Date: Tue, 6 Aug 2019 08:51:57 +0200 Subject: qmc5883 initial --- src/hih61xx.h | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'src/hih61xx.h') diff --git a/src/hih61xx.h b/src/hih61xx.h index 44effd6..656e0e4 100644 --- a/src/hih61xx.h +++ b/src/hih61xx.h @@ -3,20 +3,15 @@ #define _HIH61xx_INCLUDED #include "deftypes.h" -/* -extern int file; -void hih61xx_list_all(void); -void hih61xx_read_all(const char *opts); -*/ -void hih61xx_print_all(void); +void hih61xx_print_all(const uchar *opts); void hih61xx_read_all(const uchar *opts); void hih61xx_read_one(const uchar *opts); void hih61xx_conf_set(const uchar *opts); -// Local functions +// Local functions: // uchar *xchg_data (uchar *buf, uint8 wrlen, uint8 waitlen, uint8 rdlen); // static float calc_temp(uchar *buf, float offset); @@ -24,15 +19,5 @@ void hih61xx_conf_set(const uchar *opts); // static float calc_humidity(uchar *buf, float offset); - - - -// void hih61xx_get_data(void); -// unsigned char hih61xx_read_status(void); -// float hih61xx_calc_humidity(float offset); -// float hih61xx_read_temp(float offset); - - - #endif -- cgit v1.2.3