fix(intel): number Arc A770 LE per-LED dropdown labels

This commit is contained in:
Wolfieee Wolf
2026-06-22 09:26:31 +10:00
committed by Adam Honse
parent 01fe0b4630
commit 752bd2e35a

View File

@@ -118,7 +118,7 @@ void RGBController_IntelArcA770LE::SetupZones()
for(unsigned int led_idx = 0; led_idx < 16; led_idx++)
{
led fan_1_led;
fan_1_led.name = "Fan 1 LED";
fan_1_led.name = "Fan 1 LED " + std::to_string(led_idx + 1);
fan_1_led.value = fan_1_leds[led_idx];
leds.push_back(fan_1_led);
}
@@ -126,7 +126,7 @@ void RGBController_IntelArcA770LE::SetupZones()
for(unsigned int led_idx = 0; led_idx < 16; led_idx++)
{
led fan_2_led;
fan_2_led.name = "Fan 2 LED";
fan_2_led.name = "Fan 2 LED " + std::to_string(led_idx + 1);
fan_2_led.value = fan_2_leds[led_idx];
leds.push_back(fan_2_led);
}
@@ -134,7 +134,7 @@ void RGBController_IntelArcA770LE::SetupZones()
for(unsigned int led_idx = 0; led_idx < 8; led_idx++)
{
led back_led;
back_led.name = "Back LED";
back_led.name = "Back LED " + std::to_string(led_idx + 1);
back_led.value = back_leds[led_idx];
leds.push_back(back_led);
}
@@ -142,7 +142,7 @@ void RGBController_IntelArcA770LE::SetupZones()
for(unsigned int led_idx = 0; led_idx < 50; led_idx++)
{
led ring_led;
ring_led.name = "Ring LED";
ring_led.name = "Ring LED " + std::to_string(led_idx + 1);
ring_led.value = ring_leds[led_idx];
leds.push_back(ring_led);
}
@@ -150,7 +150,7 @@ void RGBController_IntelArcA770LE::SetupZones()
for(unsigned int led_idx = 0; led_idx < 1; led_idx++)
{
led logo_led;
logo_led.name = "Logo LED";
logo_led.name = "Logo LED " + std::to_string(led_idx + 1);
logo_led.value = logo_leds[led_idx];
leds.push_back(logo_led);
}