From d3dbbf1351b8ba242230c58e7c7bc18ed0de9eb1 Mon Sep 17 00:00:00 2001 From: Chen Jichang Date: Tue, 24 Dec 2024 16:22:57 +0800 Subject: [PATCH] fix(parlio_tx): fix line address in simple_rgb_martix example --- .../simple_rgb_led_matrix/main/rgb_led_matrix_example_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/peripherals/parlio/parlio_tx/simple_rgb_led_matrix/main/rgb_led_matrix_example_main.c b/examples/peripherals/parlio/parlio_tx/simple_rgb_led_matrix/main/rgb_led_matrix_example_main.c index 588f4cb96b..c7ffae2269 100644 --- a/examples/peripherals/parlio/parlio_tx/simple_rgb_led_matrix/main/rgb_led_matrix_example_main.c +++ b/examples/peripherals/parlio/parlio_tx/simple_rgb_led_matrix/main/rgb_led_matrix_example_main.c @@ -94,7 +94,7 @@ static IRAM_ATTR bool parlio_tx_line_done_cb(parlio_tx_unit_handle_t tx_unit, co { static uint32_t line_number = 0; dedic_gpio_bundle_handle_t gpio_bundle = (dedic_gpio_bundle_handle_t)user_ctx; - dedic_gpio_bundle_write(gpio_bundle, 0x0F, line_number++); + dedic_gpio_bundle_write(gpio_bundle, 0x0F, ++line_number); return false; }