this was missing

This commit is contained in:
Denis 2024-01-07 02:40:32 +01:00
parent 5b7b977ec4
commit 50d36ba6fe
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03

View file

@ -1346,6 +1346,7 @@ static void rc71l_hidraw_timer(
if (hidraw_data->parent->current_thermal_profile != hidraw_data->parent->next_thermal_profile) {
if (hidraw_data->parent->thermal_profile_expired == 0) {
++hidraw_data->parent->thermal_profile_expired;
uint64_t thermal_profile_index = hidraw_data->parent->next_thermal_profile % PROFILES_COUNT;
const int leds_set = rc71l_hidraw_set_leds_inner(