Skip to content

fixed rmt receive data pointer position. #2353

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

Merged
merged 1 commit into from
Jan 22, 2019
Merged

fixed rmt receive data pointer position. #2353

merged 1 commit into from
Jan 22, 2019

Conversation

chcbaram
Copy link
Contributor

Hi.

When I tested rmt example for using IR Remote, sometime, the received data was wrong or net changed.
So I fixed received data pointer wrong position.

When the received isr is added, the code blow excute at line 637. so received data pointer goes to wrong postion.

data += MAX_DATA_PER_CHANNEL*(g_rmt_objects[ch].buffers);

After I fixed the code, it worked fine.

Thanks.

@me-no-dev me-no-dev merged commit 8cbc60e into espressif:master Jan 22, 2019
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

Successfully merging this pull request may close these issues.

2 participants