Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
31cb312c
Commit
31cb312c
authored
Apr 27, 2017
by
devsaurus
Browse files
fix insertion of rmt end marker
parent
1ab8f526
Changes
1
Hide whitespace changes
Inline
Side-by-side
components/platform/ws2812.c
View file @
31cb312c
...
@@ -113,7 +113,7 @@ static void IRAM_ATTR ws2812_isr(void *arg)
...
@@ -113,7 +113,7 @@ static void IRAM_ATTR ws2812_isr(void *arg)
RMTMEM
.
chan
[
channel
].
data32
[
chain
->
tx_offset
].
val
=
0
;
RMTMEM
.
chan
[
channel
].
data32
[
chain
->
tx_offset
].
val
=
0
;
}
else
{
}
else
{
ws2812_fill_memory_encoded
(
channel
,
chain
->
data
,
chain
->
len
,
chain
->
tx_offset
);
ws2812_fill_memory_encoded
(
channel
,
chain
->
data
,
chain
->
len
,
chain
->
tx_offset
);
RMTMEM
.
chan
[
channel
].
data32
[
chain
->
tx_offset
+
chain
->
len
].
val
=
0
;
RMTMEM
.
chan
[
channel
].
data32
[
chain
->
tx_offset
+
chain
->
len
*
8
].
val
=
0
;
chain
->
data
+=
chain
->
len
;
chain
->
data
+=
chain
->
len
;
chain
->
len
=
0
;
chain
->
len
=
0
;
}
}
...
...
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