Store name in LinuxLEDController to avoid setting it in detector

This commit is contained in:
Adam Honse committed 2025-08-12 18:44:35 -05:00
1 parent 2967ccb1cb
commit b136e7739a
4 files changed
+24 -16

No files matched your search

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