Switch off the LED when xboxdrv is shut down

This commit is contained in:
Ingo Ruhnke 2011-01-28 15:26:12 +01:00
parent 813e5ed302
commit d3893d7c5c
2 changed files with 5 additions and 0 deletions

2
NEWS
View file

@ -3,6 +3,8 @@ xboxdrv 0.7.1 - (??/???/2011)
* compatibility with older libudev versions
* fixed some missing #include directives
* new match rule usbserial=SERIAL
* fixed LED not getting switched off on shutdown
xboxdrv 0.7.0 - (28/Jan/2011)

View file

@ -159,6 +159,9 @@ XboxdrvThread::controller_loop(const Options& opts)
watch_chid_process();
}
// set LED back to black
m_controller->set_led(0);
}
catch(const std::exception& err)
{