From 6d3aedcafe6851bee060b860d25b563f5bb8f6a5 Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Sat, 22 Jul 2023 21:51:37 +0200 Subject: [PATCH] Berry SK6812_GRBW crash (#19166) --- 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 86b43dabc..6d9d519ba 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 2c6fec252..c62f3bc30 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