Fix some small mistakes in the previous commit.
This commit is contained in:
parent
ce705f8244
commit
801f747345
@ -262,7 +262,7 @@ reefnet_sensus_device_handshake (device_t *abstract, unsigned char *data, unsign
|
||||
handshake[2], handshake[3],
|
||||
handshake[4], handshake[5],
|
||||
array_uint16_le (handshake + 6),
|
||||
array_uint16_le (handshake + 8));
|
||||
array_uint32_le (handshake + 8));
|
||||
#endif
|
||||
|
||||
memcpy (data, handshake + 2, REEFNET_SENSUS_HANDSHAKE_SIZE);
|
||||
|
||||
@ -573,7 +573,7 @@ uwatec_memomouse_extract_dives (device_t *abstract, const unsigned char data[],
|
||||
device_devinfo_t devinfo;
|
||||
devinfo.model = data[current + 3];
|
||||
devinfo.firmware = 0;
|
||||
devinfo.serial = array_uint32_be (data + current);
|
||||
devinfo.serial = array_uint24_be (data + current);
|
||||
device_event_emit (abstract, DEVICE_EVENT_DEVINFO, &devinfo);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user