further bug fix with clip LED

This commit is contained in:
Volker Fischer 2020-06-22 18:39:50 +02:00
parent 992875e9ad
commit efc6464e8a

View File

@ -103,6 +103,11 @@ void CLevelMeter::SetLevelMeterType ( const ELevelMeterType eNType )
switch ( eNType )
{
case MT_LED:
// initialize all LEDs
for ( int iLEDIdx = 0; iLEDIdx < NUM_LEDS_INCL_CLIP_LED; iLEDIdx++ )
{
vecpLEDs[iLEDIdx]->SetColor ( cLED::RL_BLACK );
}
pStackedLayout->setCurrentIndex ( 0 );
break;