mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-27 17:36:17 -04:00
Refactoring of MSI GPU 40xx
This commit is contained in:
committed by
Adam Honse
parent
5c5ee6509a
commit
e8f8d01447
@@ -71,6 +71,11 @@ void MSIGPUv2Controller::SetMode(unsigned char mode)
|
||||
MSIGPURegisterWrite(MSI_GPU_V2_REG_MODE, mode);
|
||||
}
|
||||
|
||||
void MSIGPUv2Controller::Save()
|
||||
{
|
||||
MSIGPURegisterWrite(MSI_GPU_V2_REG_SAVE, 0x00);
|
||||
}
|
||||
|
||||
unsigned char MSIGPUv2Controller::MSIGPURegisterRead(unsigned char reg)
|
||||
{
|
||||
return bus->i2c_smbus_read_byte_data(dev, reg);
|
||||
|
||||
Reference in New Issue
Block a user