From b3fa0c1b967b809b7a1b2e7099bd0d79467ff618 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Sun, 6 Sep 2026 04:33:33 -0500 Subject: [PATCH] Remove zone checks --- .../MSIMotherboard185Controller.cpp | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/Controllers/MSIMotherboardController/MSIMotherboard185Controller/MSIMotherboard185Controller.cpp b/Controllers/MSIMotherboardController/MSIMotherboard185Controller/MSIMotherboard185Controller.cpp index 238a8efb3..08e911e6b 100644 --- a/Controllers/MSIMotherboardController/MSIMotherboard185Controller/MSIMotherboard185Controller.cpp +++ b/Controllers/MSIMotherboardController/MSIMotherboard185Controller/MSIMotherboard185Controller.cpp @@ -640,15 +640,6 @@ void MSIMotherboard185Controller::SetMode bool rainbow_color ) { - /*-----------------------------------------------------*\ - | If the target zone is not supported by this board, | - | return without modifying the zone's data | - \*-----------------------------------------------------*/ - if(!IsZoneSupported(zone, supported_zones)) - { - return; - } - if((per_led_mode == DIRECT_MODE_ZONE_BASED) && (zone > MSI_ZONE_ON_BOARD_LED_0)) { return; @@ -927,15 +918,6 @@ void MSIMotherboard185Controller::SetZoneColor unsigned char blu2 ) { - /*-----------------------------------------------------*\ - | If the target zone is not supported by this board, | - | return without modifying the zone's data | - \*-----------------------------------------------------*/ - if(!IsZoneSupported(zone, supported_zones)) - { - return; - } - if((per_led_mode == DIRECT_MODE_ZONE_BASED) && (zone > MSI_ZONE_ON_BOARD_LED_0)) { return; @@ -1014,15 +996,6 @@ void MSIMotherboard185Controller::SetLedColor unsigned char blu ) { - /*-----------------------------------------------------*\ - | If the target zone is not supported by this board, | - | return without modifying the zone's data | - \*-----------------------------------------------------*/ - if(!IsZoneSupported(zone, supported_zones)) - { - return; - } - /*-----------------------------------------------------*\ | If this board supports Per-LED direct mode, update | | the per-LED packet buffers |