Skip to content

Commit

Permalink
Fix copy-paste
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson committed Dec 26, 2023
1 parent 4c3ae55 commit ab481a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apriltag/src/main/native/cpp/AprilTag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static bool FamilyToImage(wpi::RawFrame* frame, apriltag_family_t* family,
bool rv = frame->Reserve(totalDataSize);
std::memcpy(frame->data, image->buf, totalDataSize);
frame->size = totalDataSize;
frame->width = image->stride;
frame->width = image->width;
frame->height = image->height;
frame->stride = image->stride;
frame->pixelFormat = WPI_PIXFMT_GRAY;
Expand Down

0 comments on commit ab481a3

Please sign in to comment.