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

Payloads state machine does not preserve the status after a reset #27

Open
carlgonz opened this issue May 22, 2018 · 0 comments
Open

Payloads state machine does not preserve the status after a reset #27

carlgonz opened this issue May 22, 2018 · 0 comments
Labels

Comments

@carlgonz
Copy link
Member

The payloads state machine is designed to take a limited number of samples of each payloads. However, the execution counter is "initialized" (not properly initialized in the source code) after a reset. The later means that if the payload execution limit is set to 100 and before a reset it counter was set to 90, then after the reset the execution will continue from 0 resulting in 190 samples. This may cause issues with the payloads buffers.

See:

static unsigned int run_take_times_executed[dat_pay_last_one]; //all initialized to zero

@carlgonz carlgonz added the bug label May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant