Add save to device support to ENE SMBus (ASUS Aura SMBus) controllers
This commit is contained in:
parent
0bc7b568c5
commit
d993737803
4 changed files with 24 additions and 10 deletions
|
|
@ -197,6 +197,11 @@ unsigned char ENESMBusController::GetLEDBlue(unsigned int led)
|
|||
return(ENERegisterRead(direct_reg + ( 3 * led ) + 1));
|
||||
}
|
||||
|
||||
void ENESMBusController::SaveMode()
|
||||
{
|
||||
ENERegisterWrite(ENE_REG_APPLY, ENE_SAVE_VAL);
|
||||
}
|
||||
|
||||
void ENESMBusController::SetAllColorsDirect(unsigned char red, unsigned char green, unsigned char blue)
|
||||
{
|
||||
unsigned char* colors = new unsigned char[led_count * 3];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue