From 3ac70cd8a6efc523e200aef7ca03b8e3b20df219 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Mon, 15 Aug 2022 15:07:33 -0500 Subject: [PATCH] Fix string in log --- .../RGBController_CorsairV2Software.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controllers/CorsairPeripheralV2Controller/RGBController_CorsairV2Software.cpp b/Controllers/CorsairPeripheralV2Controller/RGBController_CorsairV2Software.cpp index 57b96d042..e65d88605 100644 --- a/Controllers/CorsairPeripheralV2Controller/RGBController_CorsairV2Software.cpp +++ b/Controllers/CorsairPeripheralV2Controller/RGBController_CorsairV2Software.cpp @@ -196,7 +196,7 @@ void RGBController_CorsairV2SW::SetupZones() LOG_DEBUG("[%s] Creating a %s zone: %s with %d LEDs", name.c_str(), ((new_zone.type == ZONE_TYPE_MATRIX) ? "matrix": "linear"), - new_zone.name, new_zone.leds_count); + new_zone.name.c_str(), new_zone.leds_count); new_zone.leds_min = new_zone.leds_count; new_zone.leds_max = new_zone.leds_count; zones.push_back(new_zone);