From 3287eef0f12b06ad2147c11c8fd2f5a4eb124e9c Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Fri, 2 Sep 2022 23:27:54 +0200 Subject: [PATCH] Fixed cooling of ignition area. --- wled00/FX.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/wled00/FX.cpp b/wled00/FX.cpp index 6558ff17..b24abe41 100644 --- a/wled00/FX.cpp +++ b/wled00/FX.cpp @@ -1982,9 +1982,14 @@ uint16_t mode_fire_2012() // Step 1. Cool down every cell a little for (int i = 0; i < SEGLEN; i++) { - uint8_t cool = (((20 + SEGMENT.speed/3) * 16) / SEGLEN); - uint8_t temp = qsub8(heat[i], random8(0, cool + 2)); - heat[i] = (temp==0 && i