mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-18 11:35:21 -04:00
Store name in LinuxLEDController to avoid setting it in detector
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
|
||||
#include "LinuxLEDController_Linux.h"
|
||||
|
||||
LinuxLEDController::LinuxLEDController()
|
||||
LinuxLEDController::LinuxLEDController(std::string dev_name)
|
||||
{
|
||||
|
||||
name = dev_name;
|
||||
}
|
||||
|
||||
LinuxLEDController::~LinuxLEDController()
|
||||
@@ -21,6 +21,11 @@ LinuxLEDController::~LinuxLEDController()
|
||||
|
||||
}
|
||||
|
||||
std::string LinuxLEDController::GetName()
|
||||
{
|
||||
return(name);
|
||||
}
|
||||
|
||||
std::string LinuxLEDController::GetRedPath()
|
||||
{
|
||||
return(led_r_path);
|
||||
|
||||
Reference in New Issue
Block a user