Skip to content

Commit fa4d330

Browse files
Fix LED name on HyperX Pulsefire Surge
1 parent 346beed commit fa4d330

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

RGBController/RGBController_HyperXPulsefireSurge.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,14 @@ void RGBController_HyperXPulsefireSurge::SetupZones()
9797
{
9898
led new_led;
9999

100+
new_led.name = zones[zone_idx].name;
101+
100102
if(zones[zone_idx].leds_count > 1)
101103
{
102-
new_led.name = zones[zone_idx].name + " LED";
103-
}
104-
104+
new_led.name.append(" LED ");
105+
new_led.name.append(std::to_string(led_idx + 1));
106+
}
107+
105108
leds.push_back(new_led);
106109
}
107110
}

0 commit comments

Comments
 (0)