-
-
Notifications
You must be signed in to change notification settings - Fork 407
Change confusing logic #1731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change confusing logic #1731
Conversation
|
@Thinner77 Thanks for your contribution! |
|
@Lord-Grey Great idea, let's do it. wbr PS: I've changed indent in MFHGrabber.h, it looks good now in my editor but not here at GH, don't know how to handle this. Commit message was "Change confusing logic #2", now i know it was a bad idea. As i said, i'm still learning how to use git. Sorry. |
|
@Thinner77 could you have a try updating the indents, please? ... and do not be to harsh with yourself on git etc. |
|
@Lord-Grey Hi, i reverted the changes to indent, in my editor (PSPad) i see tabs, no spaces. wbr |
|
@Lord-Grey Hi, you are right, now it looks good. Thank you. wbr. |


Summary
This PR will simply invert logic of variable _noSignalDetected in V4L2Grabber.cpp and MFGrabber.cpp, as current logic is IMHO very confusing.
What kind of change does this PR introduce? (check at least one)
If changing the UI of web configuration, please provide the before/after screenshot:
Does this PR introduce a breaking change? (check one)
If yes, please describe the impact and migration path for existing setups:
The PR fulfills these requirements:
Fixes: #xxx[,#xxx], where "xxx" is the issue number)If adding a new feature, the PR's description includes:
PLEASE DON'T FORGET TO ADD YOUR CHANGES TO CHANGELOG.MD
To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.
Other information:
This is my first PR ever, i'm still trying to understand git, so please be patient.