Fixed missing initialisation of USBSubsystem for non-detached daemon

This commit is contained in:
Ingo Ruhnke 2015-10-24 12:42:23 +02:00
parent 73f6ae59ad
commit 8c422b7301

View file

@ -217,6 +217,7 @@ Xboxdrv::run_daemon(const Options& opts)
if (!opts.detach) if (!opts.detach)
{ {
USBSubsystem usb_subsystem;
XboxdrvDaemon daemon(opts); XboxdrvDaemon daemon(opts);
daemon.run(); daemon.run();
} }