From a7c055b0bc7ef8ef3f571fc565a738c0c23e7691 Mon Sep 17 00:00:00 2001 From: joakim1999 Date: Thu, 11 May 2017 09:27:53 +0200 Subject: [PATCH] Add missing equal sign That could have screwed up some things dude --- School/vg2/borg/borg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/School/vg2/borg/borg.h b/School/vg2/borg/borg.h index 9cd2a9b..848c2d9 100644 --- a/School/vg2/borg/borg.h +++ b/School/vg2/borg/borg.h @@ -361,7 +361,7 @@ void rotate(byte side, bool direction, byte n, CRGB* leds) byte cyclus[8]; = {0, 3, 6, 7, 8, 5, 2, 1}; for (byte i = 0; i < n; i++) { - if (direction = 0) { + if (direction == 0) { CRGB Saved = leds[cyclus[0] + firstLED]; for(byte j = 0; j < 8; j++) { leds[cyclus[j] + firstLED] = leds[cyclus[j + 1] + firstLED];