Skip to content

Commit

Permalink
Fixes to make the changes from upstream build.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Keller <[email protected]>
  • Loading branch information
mikeller committed Jul 24, 2024
1 parent 52bc6b1 commit e5c6848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mares_iconhd.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ mares_iconhd_packet_variable (mares_iconhd_device_t *device,
}

// Verify the trailer byte.
if (packet[length - 1] != EOF) {
if (packet[length - 1] != END) {
ERROR (abstract->context, "Unexpected packet trailer byte (%02x).", packet[length - 1]);
return DC_STATUS_PROTOCOL;
}
Expand Down
2 changes: 1 addition & 1 deletion src/shearwater_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ dc_status_t shearwater_common_get_model(shearwater_common_device_t *device, unsi
*model = PEREGRINE;
break;
case 0x1712:
model = PEREGRINE_TX;
*model = PEREGRINE_TX;
break;
case 0xC0E0:
*model = TERN;
Expand Down

0 comments on commit e5c6848

Please sign in to comment.