From b6e21fdee760064b90601cb3781e622574f14f5a Mon Sep 17 00:00:00 2001 From: Anders Hoglund Date: Thu, 17 Nov 2016 21:44:53 +0100 Subject: [PATCH] Fixed sero div error. --- src/main/io/ledstrip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/io/ledstrip.c b/src/main/io/ledstrip.c index a4eb0d555b..8c7b37dbe2 100644 --- a/src/main/io/ledstrip.c +++ b/src/main/io/ledstrip.c @@ -601,7 +601,7 @@ static void applyLedRssiLayer(bool updateNow, uint32_t *timer) static bool flash = false; int state; - int timeOffset = 0; + int timeOffset = 1; if (updateNow) { state = (rssi * 100) / 1023;