1
0
mirror of https://github.com/skot/ESP-Miner.git synced 2025-03-18 05:42:16 +01:00
This commit is contained in:
Benjamin Wilson 2024-04-20 13:27:54 -04:00
parent d207d98a1e
commit dc98c84506
2 changed files with 7 additions and 1 deletions

@ -12,6 +12,12 @@ menu "Bitaxe Configuration"
default 250
help
The BM1397 hash frequency
config ASIC_MODEL
string "ASIC Model"
default "BM1366"
help
Model of the ASIC chip
endmenu
menu "Stratum Configuration"

@ -126,7 +126,7 @@ void app_main(void)
xTaskCreate(USER_INPUT_task, "user input", 8192, (void *) &GLOBAL_STATE, 5, NULL);
if (GLOBAL_STATE.board_version == 302) {
if (GLOBAL_STATE.board_version >= 300 && GLOBAL_STATE.board_version < 400) {
// this is a HEX board
ESP_LOGI(TAG, "Starting HEX power management");
vTaskDelay(2000 / portTICK_PERIOD_MS);