Searched refs:led_off_count (Results 1 – 1 of 1) sorted by relevance
172 uint32_t led_off_count; in pca9685_set_cycles() local205 led_off_count = DIV_ROUND_UP(pulse_count * PWM_STEPS, period_count); in pca9685_set_cycles()208 if (led_off_count == 0) { in pca9685_set_cycles()210 } else if (led_off_count < PWM_STEPS) { in pca9685_set_cycles()212 buf[3] = BYTE_N(led_off_count, 0); in pca9685_set_cycles()213 buf[4] = BYTE_N(led_off_count, 1); in pca9685_set_cycles()