This commit is contained in:
Ben 2023-08-28 19:35:08 -04:00
commit 5a9826d45d

View File

@ -47,7 +47,7 @@ void POWER_MANAGEMENT_task(void *pvParameters)
power_management->voltage = INA260_read_voltage();
power_management->power = INA260_read_power() / 1000;
power_management->current = INA260_read_current();
power_management->fan_speed = EMC2101_get_fan_speed() * 60;
power_management->fan_speed = EMC2101_get_fan_speed();
if (strcmp(ASIC_MODEL, "BM1397") == 0)
{
@ -130,4 +130,4 @@ void POWER_MANAGEMENT_task(void *pvParameters)
// ESP_LOGI(TAG, "target %f, Freq %f, Volt %f, Power %f", target_frequency, power_management->frequency_value, power_management->voltage, power_management->power);
vTaskDelay(POLL_RATE / portTICK_PERIOD_MS);
}
}
}