Skip to content

Commit

Permalink
Fix linter error in uyvy file
Browse files Browse the repository at this point in the history
- Update comment in CI from Jammy to Noble

Signed-off-by: Evan Flynn <evan.flynn@apex.ai>
  • Loading branch information
evan-flynn-apexai committed May 1, 2024
1 parent a8962cb commit bbbe7c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
sort -u)
# Handle the case if two docker images were declared for one distro
# e.g. rolling moving from one Ubuntu Focal to Ubuntu Jammy
# e.g. rolling moving from one Ubuntu Jammy to Ubuntu Noble
docker_image_arr=($docker_image)
DISTRO_STR+="\"${distro}\", "
Expand Down
2 changes: 1 addition & 1 deletion include/usb_cam/formats/uyvy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class UYVY2RGB : public pixel_format_base
unsigned char y0, y1, u, v;
unsigned char r, g, b;

for (i = 0, j = 0; i < (static_cast<int>(m_number_of_pixels) << 1); i += 4, j += 6) {
for (i = 0, j = 0; i < (static_cast< int > (m_number_of_pixels) << 1); i += 4, j += 6) {
u = (unsigned char)src[i + 0];
y0 = (unsigned char)src[i + 1];
v = (unsigned char)src[i + 2];
Expand Down

0 comments on commit bbbe7c3

Please sign in to comment.