From 812af485ea41fe162bb6fb888045318152bf2c66 Mon Sep 17 00:00:00 2001 From: Gergő J. Miklós Date: Wed, 15 May 2019 20:27:59 +0200 Subject: hih61xx refactored --- src/lm75.h | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) (limited to 'src/lm75.h') diff --git a/src/lm75.h b/src/lm75.h index 0c8b6a8..60cba38 100644 --- a/src/lm75.h +++ b/src/lm75.h @@ -5,32 +5,18 @@ #include "deftypes.h" // extern int file; -// -// void lm75_list_all(void); -// void lm75_read_all(const char *opts); -// + void lm75_print_all(void); //# Global funcions, required by main() void lm75_read_all(const uchar *opts); void lm75_read_one(const uchar *opts); void lm75_conf_set(const uchar *opts); -//unsigned char *xchg_data(unsigned char *buf); -// float calculate_temp(float offset); -// float read_tos(void); -// float read_thys(void); -// uchar read_conf(void); +// //Local functions +// uchar *xchg_data (uchar *buf, uint8 wrlen, uint8 waitlen, uint8 rdlen); +// static float calc_temp(float offset); +// static float read_tos(void); +// static float read_thys(void); +// static uchar read_conf(void); -//__uint8_t -//__uint16_t -//__uint32_t -//__uint64_t -//__uint128_t -//__int8_t -// __int16_t -// __int32_t -// __int64_t -// __int128_t -// __u_char -//__u_long #endif \ No newline at end of file -- cgit v1.2.3