From f017c475837a9f1485426d78f287a7109549ffd9 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Sat, 22 Jul 2023 21:49:06 +0200 Subject: [PATCH] Berry SK6812_GRBW crash --- CHANGELOG.md | 1 + tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_leds.ino | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86b43dabc4d7..6d9d519ba27a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file. ### Fixed - Initial battery level percentage (#19160) +- Berry SK6812_GRBW crash ### Removed diff --git a/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_leds.ino b/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_leds.ino index 2c6fec252219..c62f3bc30bcd 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_leds.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_leds.ino @@ -155,7 +155,7 @@ extern "C" { } uint32_t pixels_size; // number of bytes to push if (s_ws2812_grb) { s_ws2812_grb->Show(); pixels_size = s_ws2812_grb->PixelsSize(); } - if (s_sk6812_grbw) { s_sk6812_grbw->Show(); pixels_size = s_ws2812_grb->PixelsSize(); } + if (s_sk6812_grbw) { s_sk6812_grbw->Show(); pixels_size = s_sk6812_grbw->PixelsSize(); } // Wait for RMT/I2S to complete fixes distortion due to analogRead // 1ms is needed for 96 bytes