Add AUMA0-E6K5-0106 to device list and use v2 registers

This commit is contained in:
Adam Honse 2019-03-06 12:30:56 -06:00
parent 022871c5c5
commit ab03edb6ce

View file

@ -38,6 +38,13 @@ AuraController::AuraController(i2c_smbus_interface* bus, aura_dev_id dev)
effect_reg = AURA_REG_COLORS_EFFECT_V2;
led_count = 5;
}
// AUMA0-E6K5-0106 - Second generation motherboard controller
else if (strcmp(device_name, "AUMA0-E6K5-0106") == 0)
{
direct_reg = AURA_REG_COLORS_DIRECT_V2;
effect_reg = AURA_REG_COLORS_EFFECT_V2;
led_count = 5;
}
// Assume first generation controller if string does not match
else
{