Skip to content

Interrupt safety fixes for HardwareSerial #1213

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 2 commits into from
Dec 14, 2015

Conversation

alltheblinkythings
Copy link
Contributor

No description provided.

char* _buf;
char* _bufend;
const char* const _bufend;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two time const?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a const pointer to chars which are const, so _bufend is const and *_bufend is const as well.

igrr added a commit that referenced this pull request Dec 14, 2015
Interrupt safety fixes for HardwareSerial
@igrr igrr merged commit a73e167 into esp8266:master Dec 14, 2015
@alltheblinkythings alltheblinkythings deleted the cbuf_interrupts branch December 15, 2015 05:31
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.

3 participants