Add save to device support to RGBController

This commit is contained in:
Adam Honse 2021-07-04 16:32:18 -05:00
parent c2a353ec6f
commit eade8fea1a
5 changed files with 53 additions and 0 deletions

View file

@ -1523,6 +1523,11 @@ void RGBController::UpdateMode()
CallFlag_UpdateMode = true;
}
void RGBController::SaveMode()
{
DeviceSaveMode();
}
void RGBController::DeviceUpdateLEDs()
{
@ -1557,6 +1562,13 @@ void RGBController::DeviceCallThreadFunction()
}
}
void RGBController::DeviceSaveMode()
{
/*-------------------------------------------------*\
| If not implemented by controller, does nothing |
\*-------------------------------------------------*/
}
std::string device_type_to_str(device_type type)
{
switch(type)