Skip to content

Commit

Permalink
Change hardcoded name for SocketCANDevice
Browse files Browse the repository at this point in the history
SocketCAN devices aren't exclusively, changing it to something more generic.
  • Loading branch information
garrettsummerfi3ld committed Aug 30, 2024
1 parent 70d10f3 commit 13e3871
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/native/cpp/Drivers/SocketCAN/SocketCANDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ namespace usb {
SocketCANDevice::SocketCANDevice(std::string port) :
m_thread(port) {
m_descriptor = port;
m_name = "SPARK MAX";
// TODO: Get the name of the device, for now just hardcode the name
m_name = "SocketCAN Device";
m_thread.Start();
}

Expand Down

0 comments on commit 13e3871

Please sign in to comment.