Skip to content

Commit

Permalink
updated Linux code (unchecked)
Browse files Browse the repository at this point in the history
  • Loading branch information
trcwm committed Jan 7, 2018
1 parent 4b12427 commit f5d21c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion common/logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void LOG(uint32_t logLevel, const char *format, ...)
}
else
{
fprintf(stderr, logbuffer);
fprintf(stderr, "%s", logbuffer);
}
}

Expand Down
6 changes: 3 additions & 3 deletions linux/platformstream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ bool PlatformStream::setProperty(uint32_t propID, int32_t value)
ctrl.id = V4L2_CID_GAMMA;
break;
case CAPPROPID_HUE:
crtl.id = V4L2_CID_HUE;
ctrl.id = V4L2_CID_HUE;
break;
case CAPPROPID_SHARPNESS:
ctrl.id = V4L2_CID_SHARPNESS;
Expand Down Expand Up @@ -744,7 +744,7 @@ bool PlatformStream::getPropertyLimits(uint32_t propID, int32_t *emin, int32_t *
ctrl.id = V4L2_CID_GAMMA;
break;
case CAPPROPID_HUE:
crtl.id = V4L2_CID_HUE;
ctrl.id = V4L2_CID_HUE;
break;
case CAPPROPID_SHARPNESS:
ctrl.id = V4L2_CID_SHARPNESS;
Expand Down Expand Up @@ -799,7 +799,7 @@ bool PlatformStream::getProperty(uint32_t propID, int32_t &value)
ctrl.id = V4L2_CID_GAMMA;
break;
case CAPPROPID_HUE:
crtl.id = V4L2_CID_HUE;
ctrl.id = V4L2_CID_HUE;
break;
case CAPPROPID_SHARPNESS:
ctrl.id = V4L2_CID_SHARPNESS;
Expand Down

0 comments on commit f5d21c0

Please sign in to comment.