mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Fixed build on Linux
This commit is contained in:
parent
dbc0996be1
commit
db51809191
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ bool Mouse3DController::connect_device()
|
||||||
if (device.second.size() == 1)
|
if (device.second.size() == 1)
|
||||||
{
|
{
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
hid_device* test_device = hid_open(device.first.first, device.first.second);
|
hid_device* test_device = hid_open(device.first.first, device.first.second, nullptr);
|
||||||
if (test_device != nullptr)
|
if (test_device != nullptr)
|
||||||
{
|
{
|
||||||
hid_close(test_device);
|
hid_close(test_device);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue