Berry SK6812_GRBW crash (#19166)

This commit is contained in:
s-hadinger 2023-07-22 21:51:37 +02:00 committed by GitHub
parent 421c95a51b
commit 6d3aedcafe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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