Created
March 31, 2016 17:58
-
-
Save lategoodbye/5782f4003a13cee0fb5320390372b168 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mbus/mbus-protocol.c b/mbus/mbus-protocol.c | |
index 107e73a..0deca63 100755 | |
--- a/mbus/mbus-protocol.c | |
+++ b/mbus/mbus-protocol.c | |
@@ -691,7 +691,6 @@ mbus_data_float_decode(unsigned char *float_data) | |
float f; | |
} data; | |
memcpy(&(data.u32), float_data, sizeof(uint32_t)); | |
- data.u32 = ntohl(data.u32); | |
return data.f; | |
} | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment