mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
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:
parent
475b1e36a9
commit
5c4601c08a
1 changed files with 1 additions and 2 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue