Searched refs:last_acual (Results 1 – 1 of 1) sorted by relevance
117 static uint16_t last_acual = 0xFFFF; in board_led_lightness() local119 ESP_LOGD(TAG, "actual last state %d, state %d", last_acual, actual); in board_led_lightness()121 if(last_acual != actual) { in board_led_lightness()122 last_acual = actual; in board_led_lightness()124 uint16_t actual_lightness = (float)last_acual / (UINT16_MAX / 100.0); in board_led_lightness()125 ESP_LOGD(TAG, "lightness %d %%%d operation", last_acual, actual_lightness); in board_led_lightness()