dmx: Enable/DisableDevice take a boolean variable now.
We want to send events here, so pass in TRUE. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
1e210d6d10
commit
2cde9208ff
|
@ -1189,7 +1189,7 @@ int dmxInputDetach(DMXInputInfo *dmxInput)
|
|||
: (dmxLocal->sendsCore
|
||||
? " [sends core events]"
|
||||
: ""));
|
||||
DisableDevice(dmxLocal->pDevice);
|
||||
DisableDevice(dmxLocal->pDevice, TRUE);
|
||||
}
|
||||
dmxInput->detached = True;
|
||||
dmxInputLogDevices();
|
||||
|
@ -1257,7 +1257,7 @@ static int dmxInputAttachOld(DMXInputInfo *dmxInput, int *id)
|
|||
: (dmxLocal->sendsCore
|
||||
? " [sends core events]"
|
||||
: ""));
|
||||
EnableDevice(dmxLocal->pDevice);
|
||||
EnableDevice(dmxLocal->pDevice, TRUE);
|
||||
}
|
||||
dmxInputLogDevices();
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user