mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-25 18:09:13 -04:00
Update MSI Optix controller files to new standardized header comment
This commit is contained in:
1 parent
9c19195625
commit
803d1681c4
5 files changed
+58
-38
No files matched your search
@@ -1,13 +1,16 @@
|
||||
/*-----------------------------------------*\
|
||||
| MSIOptixController.cpp |
|
||||
| |
|
||||
| Driver for MSI Optix monitor lighting |
|
||||
| controller |
|
||||
| |
|
||||
| Guimard Morgan (morg) 1/10/2022 |
|
||||
\*-----------------------------------------*/
|
||||
#include "MSIOptixController.h"
|
||||
/*---------------------------------------------------------*\
|
||||
| MSIOptixController.cpp |
|
||||
| |
|
||||
| Driver for MSI Optix |
|
||||
| |
|
||||
| Morgan Guimard (morg) 10 Jan 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <string.h>
|
||||
#include "MSIOptixController.h"
|
||||
|
||||
MSIOptixController::MSIOptixController(hid_device* dev_handle, const hid_device_info& info)
|
||||
{
|
||||
@@ -205,7 +208,7 @@ void MSIOptixController::SetMode(std::vector<RGBColor> colors, unsigned char bri
|
||||
}
|
||||
|
||||
else if(mode_flags & MODE_FLAG_HAS_MODE_SPECIFIC_COLOR)
|
||||
{
|
||||
{
|
||||
for(unsigned int i = 0; i < MSI_OPTIX_COLOR_PACKET_SIZE; i++)
|
||||
{
|
||||
usb_buf[++offset] = red;
|
||||
|
||||
Reference in new issue
Block a user