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

min_poll starts handling transports even frame is not ready #18

Open
jussipo opened this issue Dec 24, 2018 · 0 comments
Open

min_poll starts handling transports even frame is not ready #18

jussipo opened this issue Dec 24, 2018 · 0 comments

Comments

@jussipo
Copy link

jussipo commented Dec 24, 2018

It seems that min_poll will go to handle TRANSPORT_PROTOCOL stuff even rx_byte() is still waiting more chars.

Would it be better just add to min_poll():
#ifdef TRANSPORT_PROTOCOL
uint8_t window_size;
if(self->rx_frame_state == SEARCHING_FOR_SOF)
{
now = min_time_ms();

I hit this when using code w linux.
I also use one-wire, so devices always sees (receives) own transmission.
usart hw has collision detection trigger also.
I also had to add src and tgt fields to the frame.

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