mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-04-10 04:49:16 +02:00
cosmetic
This commit is contained in:
parent
771210e8f1
commit
271d091b03
@ -82,6 +82,7 @@ static void _init_system(GlobalState * global_state, SystemModule * module)
|
||||
ESP_ERROR_CHECK(i2c_master_init());
|
||||
ESP_LOGI(TAG, "I2C initialized successfully");
|
||||
|
||||
// Initialize the core voltage regulator
|
||||
VCORE_init(global_state);
|
||||
VCORE_set_voltage(nvs_config_get_u16(NVS_CONFIG_ASIC_VOLTAGE, CONFIG_ASIC_VOLTAGE) / 1000.0, global_state);
|
||||
|
||||
|
@ -34,7 +34,6 @@ static float _fbound(float value, float lower_bound, float upper_bound)
|
||||
|
||||
void POWER_MANAGEMENT_task(void * pvParameters)
|
||||
{
|
||||
|
||||
GlobalState * GLOBAL_STATE = (GlobalState *) pvParameters;
|
||||
|
||||
PowerManagementModule * power_management = &GLOBAL_STATE->POWER_MANAGEMENT_MODULE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user