Home
last modified time | relevance | path

Searched refs:STRIP_CHECK (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/examples/common_components/led_strip/
Dled_strip_rmt_ws2812.c25 #define STRIP_CHECK(a, str, goto_tag, ret_value, ...) \ macro
102STRIP_CHECK(index < ws2812->strip_len, "index out of the maximum number of leds", err, ESP_ERR_INV… in ws2812_set_pixel()
117STRIP_CHECK(rmt_write_sample(ws2812->rmt_channel, ws2812->buffer, ws2812->strip_len * 3, true) == … in ws2812_refresh()
142 STRIP_CHECK(config, "configuration can't be null", err, NULL); in led_strip_new_rmt_ws2812()
147 STRIP_CHECK(ws2812, "request memory for ws2812 failed", err, NULL); in led_strip_new_rmt_ws2812()
150 STRIP_CHECK(rmt_get_counter_clock((rmt_channel_t)config->dev, &counter_clk_hz) == ESP_OK, in led_strip_new_rmt_ws2812()