mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-04-01 00:18:34 +02:00
Merge branch 'master' of https://github.com/skot/ESP-Miner
This commit is contained in:
commit
5a9826d45d
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user