More sane status led for transport

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4133 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Sampo Savolainen 2008-11-10 20:27:30 +00:00
parent 475b1e36a9
commit 5c4601c08a

View file

@ -138,11 +138,10 @@ WiimoteControlProtocol::update_led_state()
{
ENSURE_WIIMOTE_THREAD(sigc::mem_fun(*this, &WiimoteControlProtocol::update_led_state));
// ensure thread needs to be done here...
uint8_t state = 0;
if (session->transport_rolling()) {
state |= CWIID_LED3_ON;
state |= CWIID_LED1_ON;
}
if (session->actively_recording()) {