Home
last modified time | relevance | path

Searched refs:last_acual (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/aligenie_demo/main/
Dboard.c117 static uint16_t last_acual = 0xFFFF; in board_led_lightness() local
119 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()