Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
8e5ce49d
Commit
8e5ce49d
authored
Aug 24, 2021
by
Johny Mattsson
Browse files
Update to latest IDF master.
parent
ba74e770
Changes
2
Hide whitespace changes
Inline
Side-by-side
components/platform/ws2812.c
View file @
8e5ce49d
...
@@ -106,6 +106,8 @@ static void ws2812_isr(void *arg)
...
@@ -106,6 +106,8 @@ static void ws2812_isr(void *arg)
ws2812_chain_t
*
chain
=
&
(
ws2812_chains
[
channel
]);
ws2812_chain_t
*
chain
=
&
(
ws2812_chains
[
channel
]);
#if defined(CONFIG_IDF_TARGET_ESP32) || defined(CONFIG_IDF_TARGET_ESP32S2)
#if defined(CONFIG_IDF_TARGET_ESP32) || defined(CONFIG_IDF_TARGET_ESP32S2)
uint32_t
data_sub_len
=
RMT
.
tx_lim_ch
[
channel
].
limit
/
8
;
uint32_t
data_sub_len
=
RMT
.
tx_lim_ch
[
channel
].
limit
/
8
;
#elif defined(CONFIG_IDF_TARGET_ESP32S3)
uint32_t
data_sub_len
=
RMT
.
chn_tx_lim
[
channel
].
tx_lim_chn
/
8
;
#else
#else
uint32_t
data_sub_len
=
RMT
.
tx_lim
[
channel
].
limit
/
8
;
uint32_t
data_sub_len
=
RMT
.
tx_lim
[
channel
].
limit
/
8
;
#endif
#endif
...
...
esp32-esp-idf
@
a20df743
Compare
8e3e65a4
...
a20df743
Subproject commit
8e3e65a47b7d9b5dc4f52eb56660a748fda1884e
Subproject commit
a20df743f1c51e6d65b021ed2ffd3081a2feec64
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