Skip to content
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

Checking wrong variable #25

Open
et05hk6 opened this issue Oct 31, 2022 · 0 comments
Open

Checking wrong variable #25

et05hk6 opened this issue Oct 31, 2022 · 0 comments

Comments

@et05hk6
Copy link

et05hk6 commented Oct 31, 2022

Checking a value that can be either value*4 or 100 (only assignment I can find is in SetLookbackSec(value)) to see if it is smaller than 9 does not seem right to me? Only occation that could be true is if SetLookbackSec(1) has been called by the user...
Based on the comment I would do something like this:

if (lastInputs[nLookBack] == 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant