Fix Aura DRAM detection and move firmware name to Version field

This commit is contained in:
Adam Honse 2019-12-20 14:28:42 -06:00
parent e51e9a71a0
commit 89b4716012

View file

@ -118,9 +118,9 @@ RGBController_Aura::RGBController_Aura(AuraController * aura_ptr)
aura = aura_ptr;
description = aura->GetDeviceName();
version = aura->GetDeviceName();
location = aura->GetDeviceLocation();
if((name.rfind("DIMM_LED", 0) == 0) || (name.rfind("AUDA", 0) == 0) )
if((version.find("DIMM_LED") != std::string::npos) || (version.find("AUDA") != std::string::npos) )
{
type = DEVICE_TYPE_DRAM;
name = "ASUS Aura DRAM";