From 494769177f72fca8dd56684d6142d41e863fd505 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Sun, 30 Jun 2024 19:06:29 -0500 Subject: [PATCH] Update Zotac Turing GPU controller files to new standardized header comment --- .../RGBController_ZotacTuringGPU.cpp | 20 +++++++++-------- .../RGBController_ZotacTuringGPU.h | 18 ++++++++------- .../ZotacTuringGPUController.cpp | 18 ++++++++------- .../ZotacTuringGPUController.h | 22 ++++++++++--------- .../ZotacTuringGPUControllerDetect.cpp | 11 ++++++++++ 5 files changed, 54 insertions(+), 35 deletions(-) diff --git a/Controllers/ZotacTuringGPUController/RGBController_ZotacTuringGPU.cpp b/Controllers/ZotacTuringGPUController/RGBController_ZotacTuringGPU.cpp index 27c6b1eb..a18d7dde 100644 --- a/Controllers/ZotacTuringGPUController/RGBController_ZotacTuringGPU.cpp +++ b/Controllers/ZotacTuringGPUController/RGBController_ZotacTuringGPU.cpp @@ -1,11 +1,13 @@ -/*-----------------------------------------*\ -| RGBController_ZotacTuringGPU.cpp | -| | -| Generic RGB Interface for OpenRGB | -| ZOTAC Turing GPU Driver | -| | -| David Henry 1/07/2023 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_ZotacTuringGPU.cpp | +| | +| RGBController for Zotac Turing GPU | +| | +| David Henry 07 Jan 2023 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include "RGBController_ZotacTuringGPU.h" @@ -122,7 +124,7 @@ void RGBController_ZotacTuringGPU::SetupInitialValues() controller->GetMode(colors[0], active_mode, speed); modes[active_mode].speed = speed; - + SignalUpdate(); } diff --git a/Controllers/ZotacTuringGPUController/RGBController_ZotacTuringGPU.h b/Controllers/ZotacTuringGPUController/RGBController_ZotacTuringGPU.h index 4d7c3c19..8a57f90f 100644 --- a/Controllers/ZotacTuringGPUController/RGBController_ZotacTuringGPU.h +++ b/Controllers/ZotacTuringGPUController/RGBController_ZotacTuringGPU.h @@ -1,11 +1,13 @@ -/*-----------------------------------------*\ -| RGBController_ZotacTuringGPU.h | -| | -| Generic RGB Interface for OpenRGB | -| ZOTAC Turing GPU Driver | -| | -| David Henry 1/07/2023 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| RGBController_ZotacTuringGPU.h | +| | +| RGBController for Zotac Turing GPU | +| | +| David Henry 07 Jan 2023 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #pragma once diff --git a/Controllers/ZotacTuringGPUController/ZotacTuringGPUController.cpp b/Controllers/ZotacTuringGPUController/ZotacTuringGPUController.cpp index 51841cf5..0f663f2a 100644 --- a/Controllers/ZotacTuringGPUController/ZotacTuringGPUController.cpp +++ b/Controllers/ZotacTuringGPUController/ZotacTuringGPUController.cpp @@ -1,11 +1,13 @@ -/*-----------------------------------------*\ -| ZotacTuringGPUController.cpp | -| | -| Driver for ZOTAC GeForce RTX 20 series | -| GPU lighting controller | -| | -| David Henry 1/07/2023 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| ZotacTuringGPUController.cpp | +| | +| Driver for Zotac Turing GPU | +| | +| David Henry 07 Jan 2023 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ #include "ZotacTuringGPUController.h" diff --git a/Controllers/ZotacTuringGPUController/ZotacTuringGPUController.h b/Controllers/ZotacTuringGPUController/ZotacTuringGPUController.h index 51e669f6..5063d99f 100644 --- a/Controllers/ZotacTuringGPUController/ZotacTuringGPUController.h +++ b/Controllers/ZotacTuringGPUController/ZotacTuringGPUController.h @@ -1,18 +1,20 @@ -/*-----------------------------------------*\ -| ZotacTuringGPUController.cpp | -| | -| Definitions and types for ZOTAC GeForce | -| RTX 20 series GPU lighting controller | -| | -| David Henry 1/07/2023 | -\*-----------------------------------------*/ +/*---------------------------------------------------------*\ +| ZotacTuringGPUController.h | +| | +| Driver for Zotac Turing GPU | +| | +| David Henry 07 Jan 2023 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + +#pragma once #include #include "i2c_smbus.h" #include "RGBController.h" -#pragma once - enum { ZOTAC_TURING_GPU_REG_COLOR_AND_MODE = 0xA0, diff --git a/Controllers/ZotacTuringGPUController/ZotacTuringGPUControllerDetect.cpp b/Controllers/ZotacTuringGPUController/ZotacTuringGPUControllerDetect.cpp index aa18f937..c1a5dd17 100644 --- a/Controllers/ZotacTuringGPUController/ZotacTuringGPUControllerDetect.cpp +++ b/Controllers/ZotacTuringGPUController/ZotacTuringGPUControllerDetect.cpp @@ -1,3 +1,14 @@ +/*---------------------------------------------------------*\ +| ZotacTuringGPUControllerDetect.cpp | +| | +| Detector for Zotac Turing GPU | +| | +| David Henry 07 Jan 2023 | +| | +| This file is part of the OpenRGB project | +| SPDX-License-Identifier: GPL-2.0-only | +\*---------------------------------------------------------*/ + #include "Detector.h" #include "ZotacTuringGPUController.h" #include "RGBController.h"