Non-functional style updates part 3

This commit is contained in:
umbreon222
2025-04-30 01:42:32 -05:00
committed by Devin Wendt
parent 58e3dee5b9
commit d2db169619
2 changed files with 11 additions and 12 deletions

View File

@@ -447,7 +447,7 @@ void LIFXController::SetExtendedColorZonesPacketSetColors(std::vector<RGBColor>
for(size_t i = 0; i < colors.size(); i++)
{
hsbk_t hsbk;
RGBColorToHSBK(colors.at(i), &hsbk);
RGBColorToHSBK(colors[i], &hsbk);
size_t current_color_offset = LIFX_SET_EXTENDED_COLOR_ZONES_PACKET_OFFSET_COLORS + (i * HSBK_LENGTH);