Skip to content

Commit e5c6848

Browse files
committed
Fixes to make the changes from upstream build.
Signed-off-by: Michael Keller <[email protected]>
1 parent 52bc6b1 commit e5c6848

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/mares_iconhd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ mares_iconhd_packet_variable (mares_iconhd_device_t *device,
358358
}
359359

360360
// Verify the trailer byte.
361-
if (packet[length - 1] != EOF) {
361+
if (packet[length - 1] != END) {
362362
ERROR (abstract->context, "Unexpected packet trailer byte (%02x).", packet[length - 1]);
363363
return DC_STATUS_PROTOCOL;
364364
}

src/shearwater_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ dc_status_t shearwater_common_get_model(shearwater_common_device_t *device, unsi
749749
*model = PEREGRINE;
750750
break;
751751
case 0x1712:
752-
model = PEREGRINE_TX;
752+
*model = PEREGRINE_TX;
753753
break;
754754
case 0xC0E0:
755755
*model = TERN;

0 commit comments

Comments
 (0)