mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-17 13:22:53 +01:00
fix regression while merging
This commit is contained in:
parent
8230b31cd1
commit
5af8729930
@ -266,8 +266,10 @@ void POWER_MANAGEMENT_HEX_task(void * pvParameters)
|
||||
uint16_t auto_fan_speed = nvs_config_get_u16(NVS_CONFIG_AUTO_FAN_SPEED, 1);
|
||||
|
||||
// turn on ASIC core voltage (three domains in series)
|
||||
int want_vcore = nvs_config_get_u16(NVS_CONFIG_ASIC_VOLTAGE, CONFIG_ASIC_VOLTAGE);
|
||||
want_vcore *= 3; // across 3 domains
|
||||
ESP_LOGI(TAG, "---TURNING ON VCORE---");
|
||||
TPS546_set_vout(3600);
|
||||
TPS546_set_vout(want_vcore);
|
||||
|
||||
vTaskDelay(3000 / portTICK_PERIOD_MS);
|
||||
|
||||
@ -285,7 +287,7 @@ void POWER_MANAGEMENT_HEX_task(void * pvParameters)
|
||||
// For reference:
|
||||
// TPS546_get_vin()- board input voltage
|
||||
// we don't have a way to measure board input current
|
||||
// TPS546_get_out()- core voltage *3 (across all domains)
|
||||
// TPS546_get_vout()- core voltage *3 (across all domains)
|
||||
// TPS546_get_iout()- Current output of regulator
|
||||
// we don't have a way to measure power, we have to calculate it
|
||||
// but we don't have total board current, so calculate regulator power
|
||||
|
Loading…
x
Reference in New Issue
Block a user