From 830b805e2a83d3f52c4c8cb1f67fc43bb2c139bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ortega?= Date: Wed, 21 Jun 2017 16:21:06 +0200 Subject: [PATCH] MSB to LSB --- src/main/tracker/pitlab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/tracker/pitlab.c b/src/main/tracker/pitlab.c index 377d77d..1c51560 100644 --- a/src/main/tracker/pitlab.c +++ b/src/main/tracker/pitlab.c @@ -87,7 +87,7 @@ void preProcessHexString(void){ for(uint8_t j = 0; j < 2; ++j){ str_buffer[j] = hexString[sIdx++]; } - lsRxData[4-i] = hex2int(str_buffer,2); + lsRxData[5-i] = hex2int(str_buffer,2); } }