Skip to content

Commit 9cc0023

Browse files
committed
updates bitstream to use new IDF API
1 parent f881c1d commit 9cc0023

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ext_mod/micropython.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ if(ESP_PLATFORM)
44
include(${CMAKE_CURRENT_LIST_DIR}/esp32_components.cmake)
55
include(${CMAKE_CURRENT_LIST_DIR}/spi3wire/micropython.cmake)
66

7+
if(DEFINED ENV{LEDSTRIP})
8+
include(${CMAKE_CURRENT_LIST_DIR}/led_strip/micropython.cmake)
9+
endif()
10+
11+
712
if(DEFINED ENV{PY_FREERTOS})
813
include(${CMAKE_CURRENT_LIST_DIR}/mpy_freertos/micropython.cmake)
914
endif()

micropy_updates/esp32/machine_bitstream.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ typedef struct {
119119
} rmt_led_strip_encoder_t;
120120

121121

122-
RMT_ENCODER_FUNC_ATTR
123122
static size_t rmt_encode_led_strip(rmt_encoder_t *encoder, rmt_channel_handle_t channel, const void *primary_data, size_t data_size, rmt_encode_state_t *ret_state)
124123
{
125124
rmt_led_strip_encoder_t *led_encoder = __containerof(encoder, rmt_led_strip_encoder_t, base);

0 commit comments

Comments
 (0)