Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
a6a9a518
Commit
a6a9a518
authored
Sep 17, 2018
by
Baruch Nissenbaum
Committed by
Me No Dev
Sep 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_uart_isr use wr_addr != rd_addr as test for internal queue not empty (#1849)
parent
02ee799f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cores/esp32/esp32-hal-uart.c
cores/esp32/esp32-hal-uart.c
+1
-1
No files found.
cores/esp32/esp32-hal-uart.c
View file @
a6a9a518
...
...
@@ -80,7 +80,7 @@ static void IRAM_ATTR _uart_isr(void *arg)
uart
->
dev
->
int_clr
.
rxfifo_full
=
1
;
uart
->
dev
->
int_clr
.
frm_err
=
1
;
uart
->
dev
->
int_clr
.
rxfifo_tout
=
1
;
while
(
uart
->
dev
->
status
.
rxfifo_cnt
)
{
while
(
uart
->
dev
->
status
.
rxfifo_cnt
||
(
uart
->
dev
->
mem_rx_status
.
wr_addr
!=
uart
->
dev
->
mem_rx_status
.
rd_addr
)
)
{
c
=
uart
->
dev
->
fifo
.
rw_byte
;
if
(
uart
->
queue
!=
NULL
&&
!
xQueueIsQueueFullFromISR
(
uart
->
queue
))
{
xQueueSendFromISR
(
uart
->
queue
,
&
c
,
&
xHigherPriorityTaskWoken
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment