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

Ibytes / Obytes limited to 8 bytes ? #11

Closed
lionel590 opened this issue Oct 31, 2023 · 1 comment
Closed

Ibytes / Obytes limited to 8 bytes ? #11

lionel590 opened this issue Oct 31, 2023 · 1 comment

Comments

@lionel590
Copy link

lionel590 commented Oct 31, 2023

Hi Stefan, is there any reason why you limit Ibytes, same applies to Obytes, to 8 bytes ? shouldn't we just make sure that num bytes reported by slave matches the bits ?

numbytes = ec_slave[i].Ibytes;
if ((numbytes == 0) && (ec_slave[i].Ibits > 0)) numbytes = 1;
if (numbytes > 8) numbytes = 8;

Rgds

@stefanpoeter
Copy link
Member

Ohh, this is an old project and no longer supported :-) Feel free to fork and use it :-)

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

2 participants