Store name in LinuxLEDController to avoid setting it in detector

This commit is contained in:
Adam Honse
2025-08-12 18:44:35 -05:00
parent 2967ccb1cb
commit b136e7739a
4 changed files with 24 additions and 16 deletions

View File

@@ -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);