Adds support for three additional Zotac card...

This commit is contained in:
Fn Eh
2023-08-10 16:59:40 +00:00
committed by Adam Honse
parent 593506219c
commit 2082283646
4 changed files with 26 additions and 22 deletions

View File

@@ -56,6 +56,7 @@ bool ZotacV2GPUController::ReadVersion()
}
version = std::string((char*)rdata_pkt);
return true;
}
@@ -158,16 +159,6 @@ bool ZotacV2GPUController::SendCommand(bool on, bool reset, int zone, int idleAc
(u8)RGBGetGValue(zoneConfig.color2),
(u8)RGBGetBValue(zoneConfig.color2),
(u8)zoneConfig.colorPreset,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
};
if(bus->i2c_write_block(dev, sizeof(data_pkt), data_pkt) < 0)