Update Patriot Viper Steel controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-06-03 11:39:10 -05:00
parent a87803ff26
commit 59d1c07075
5 changed files with 47 additions and 30 deletions

View file

@ -1,12 +1,14 @@
/*-----------------------------------------*\
| PatriotViperSteelController.cpp |
| |
| Definitions and types for Patriot Viper |
| Steel RGB RAM lighting controller |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| PatriotViperSteelController.cpp |
| |
| Driver for Patriot Viper Steel RAM |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "PatriotViperSteelController.h"
#include <cstring>
#include "PatriotViperSteelController.h"
PatriotViperSteelController::PatriotViperSteelController(i2c_smbus_interface *bus, viper_dev_id dev)
{

View file

@ -1,15 +1,17 @@
/*-----------------------------------------*\
| PatriotViperController.h |
| |
| Definitions and types for Patriot Viper |
| RGB RAM lighting controller |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| PatriotViperSteelController.h |
| |
| Driver for Patriot Viper Steel RAM |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <string>
#include "i2c_smbus.h"
#pragma once
typedef unsigned char viper_dev_id;
typedef unsigned short viper_register;

View file

@ -1,3 +1,15 @@
/*---------------------------------------------------------*\
| PatriotViperSteelControllerDetect.cpp |
| |
| Detector for Patriot Viper Steel RAM |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include "Detector.h"
#include "PatriotViperSteelController.h"
#include "LogManager.h"
@ -5,9 +17,6 @@
#include "RGBController_PatriotViperSteel.h"
#include "i2c_smbus.h"
#include "pci_ids.h"
#include <vector>
#include <stdio.h>
#include <stdlib.h>
using namespace std::chrono_literals;
#define PATRIOT_CONTROLLER_NAME "Patriot Viper Steel"

View file

@ -1,9 +1,11 @@
/*-----------------------------------------*\
| RGBController_PatriotViperSteel.cpp |
| |
| Generic RGB Interface for OpenRGB |
| Patriot Viper Steel RGB interface |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_PatriotViperSteel.cpp |
| |
| RGBController for Patriot Viper Steel RAM |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_PatriotViperSteel.h"

View file

@ -1,9 +1,11 @@
/*---------------------------------------------*\
| RGBController_PatriotViperSteel.h |
| |
| Generic RGB Interface for OpenRGB |
| Patriot Viper Steel RGB interface |
\*---------------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_PatriotViperSteel.h |
| |
| RGBController for Patriot Viper Steel RAM |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once