diff options
author | Sven Wegener <sven.wegener@stealer.net> | 2016-08-01 09:00:12 +0200 |
---|---|---|
committer | Sven Wegener <sven.wegener@stealer.net> | 2016-08-01 09:00:12 +0200 |
commit | 0b19acce655992a9a9c3b348c831b7d49927714d (patch) | |
tree | 6fb5e84b85b61eb3913a57a767644800b6a8519b | |
parent | 248ce5e9ad5872bfaef5848cce6ac4619a0f96f6 (diff) |
smtech-dm620: Adjust APIdm620
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
-rw-r--r-- | src/hardware/smtech-dm620/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardware/smtech-dm620/protocol.c b/src/hardware/smtech-dm620/protocol.c index c27c6558..edba74b9 100644 --- a/src/hardware/smtech-dm620/protocol.c +++ b/src/hardware/smtech-dm620/protocol.c @@ -77,7 +77,7 @@ static void dump_packet(const char *buf, int len) { #define FLOAT_PTR_CAST(x) (*(float *) (x)) -static float dm620_atof_ascii_digits(char *buf, char **endptr, uint8_t *digits) +static float dm620_atof_ascii_digits(char *buf, char **endptr, int8_t *digits) { char *tmp; float value; |