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

Repair MarlinSerial with TX-buffer #4688

Merged
merged 1 commit into from Aug 23, 2016

Conversation

AnHardt
Copy link
Member

@AnHardt AnHardt commented Aug 22, 2016

These '{'/'}' are important to avoid the redefinition of unsigned char _sreg = SREG;
at the same level.
Used in

#define CRITICAL_SECTION_START  unsigned char _sreg = SREG; cli();

These '{' are important to avoid the redefinition of `unsigned char _sreg = SREG;`
at the same level.
Used in
```
#define CRITICAL_SECTION_START  unsigned char _sreg = SREG; cli();
```
@thinkyhead thinkyhead merged commit 13e337a into MarlinFirmware:RCBugFix Aug 23, 2016
@thinkyhead
Copy link
Member

thinkyhead commented Aug 23, 2016

I tried to come up with some clever way that the braces wouldn't be needed, but I got nothin'.

@AnHardt AnHardt deleted the crittical_section branch August 23, 2016 12:39
@thinkyhead thinkyhead mentioned this pull request Oct 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants