10000 Shared uart isr by Makuna · Pull Request #5600 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content

Shared uart isr #5600

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

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
static initialize fixed
  • Loading branch information
Makuna committed Jan 11, 2019
commit 6564edb8031646eda8a32341b172f3ce1a59f3f2
7 changes: 1 addition & 6 deletions cores/esp8266/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,7 @@ struct uartIsrContext_t
void* arg;
};

// NOTE: GCC will generated an invalid warning for the following line
// see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmissing-braces"
static volatile struct uartIsrContext_t s_uartInterruptContext[2] = { 0 };
#pragma GCC diagnostic pop
static struct uartIsrContext_t s_uartInterruptContext[2];

/*
In the context of the naming conventions in this file, "_unsafe" means two things:
Expand Down
0