Skip to content

Commit

Permalink
Aura Breath bit #2937
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Aug 7, 2024
1 parent 741d9cf commit 88eb491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/USB/Aura.cs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public static byte[] AuraMessage(AuraMode mode, Color color, Color color2, int s
msg[6] = mono ? (byte)0 : color.B; // B
msg[7] = (byte)speed; // aura.speed as u8;
msg[8] = 0x00; // aura.direction as u8;
msg[9] = (color.R == 0 && color.G == 0 && color.B == 0) ? (byte)0xFF : (byte)0x00; // random color flag
msg[9] = (color.R == 0 && color.G == 0 && color.B == 0) ? (byte)0xFF : (mode == AuraMode.AuraBreathe ? (byte)0x01 : (byte)0x00); // random color flag
msg[10] = color2.R; // R
msg[11] = mono ? (byte)0 : color2.G; // G
msg[12] = mono ? (byte)0 : color2.B; // B
Expand Down

0 comments on commit 88eb491

Please sign in to comment.