summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hardware/smtech-dm620/protocol.c2
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;