Searched refs:currentColor (Results 1 – 1 of 1) sorted by relevance
93 led_color_t currentColor; member227 … if (((led_color_t)kLED_Black == ledState->currentColor) || (100U == ledState->flashDuty)) in LED_TimerEvent()238 ledState->nextColor = ledState->currentColor; in LED_TimerEvent()239 ledState->currentColor = color; in LED_TimerEvent()242 if (((led_color_t)kLED_Black == ledState->currentColor)) in LED_TimerEvent()252 … ledState->currentColor = (led_color_t)(0xFFUL << ((ledState->flashCount % 3U) * 8U)); in LED_TimerEvent()273 ledState->currentColor = color; in LED_TimerEvent()283 (void)LED_SetStatus(ledState, ledState->currentColor, threshold); in LED_TimerEvent()290 uint8_t value = (uint8_t)((ledState->currentColor >> (8U * i)) & 0xFFU); in LED_TimerEvent()323 ledState->currentColor = LED_MAKE_COLOR(power[0], power[1], power[2]); in LED_TimerEvent()[all …]