Formatting and style fixes for the MSIGPUv2Controller

* Change Hex literals to uppercase
* Adjusting Metadata to correctly reflect the declared controller
* Adding defines for Speed and Brightness values and adjusting mode declarations to suit
* Replacing brightness array in favour of more flexible multiple
This commit is contained in:
Chris
2023-01-13 21:59:17 +11:00
committed by Adam Honse
parent 94a8ce3cbe
commit 915ecefd16
4 changed files with 240 additions and 238 deletions

View File

@@ -66,7 +66,6 @@ void MSIGPUv2Controller::SetRGB3V2(unsigned char red, unsigned char green, unsig
MSIGPUBlockWrite(MSI_GPU_V2_REG_COLOR_BLOCK3_BASE, &buffer[0], sizeof(buffer));
}
void MSIGPUv2Controller::SetMode(unsigned char mode)
{
MSIGPURegisterWrite(MSI_GPU_V2_REG_MODE, mode);