Skip to content

Commit 785c9b2

Browse files
committed
1.2.2
Bug correction for RGB Blades code
1 parent c0bc4fe commit 785c9b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

LightSaberOS.ino

+2
Original file line numberDiff line numberDiff line change
@@ -1006,6 +1006,7 @@ void loop() {
10061006

10071007
modification = 0;
10081008
storage.mainColor = value;
1009+
storage.sndProfile[storage.soundFont][0] =storage.mainColor;
10091010
getColor(currentColor, storage.mainColor);
10101011
lightOn(ledPins, currentColor);
10111012
#if defined LS_INFO
@@ -1028,6 +1029,7 @@ void loop() {
10281029

10291030
modification = 0;
10301031
storage.clashColor = value;
1032+
storage.sndProfile[storage.soundFont][1] =storage.clashColor;
10311033
getColor(currentColor, storage.clashColor);
10321034
lightOn(ledPins, currentColor);
10331035
#if defined LS_INFO

0 commit comments

Comments
 (0)