![](/media/cache/profiles/cff02a74da64d145a4aed3a577a106ab.jpg.50x50_q85.jpg)
test MAX31850
Diff: OneWire/utils.cpp
- Revision:
- 4:031e71e61e80
- Parent:
- 3:b4277f7c538e
diff -r b4277f7c538e -r 031e71e61e80 OneWire/utils.cpp --- a/OneWire/utils.cpp Mon Jun 02 13:17:18 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -#include <stdint.h> - -uint16_t uint8_to_uint16(uint8_t lsb, uint8_t msb) -{ - uint16_t data; - uint8_t *ptr; - - ptr=(uint8_t*)&data; - *ptr=lsb; - *++ptr=msb; - return data; -} \ No newline at end of file