Skip to content

Commit

Permalink
Disable hashing
Browse files Browse the repository at this point in the history
  • Loading branch information
johnny9 committed Feb 13, 2024
1 parent 7e2dabb commit bc4eb89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions components/bm1397/bm1366.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@ static void _send_init(uint64_t frequency)
}
ESP_LOGI(TAG, "%i chip(s) detected on the chain", chip_counter);

return;

unsigned char init4[11] = {0x55, 0xAA, 0x51, 0x09, 0x00, 0xA8, 0x00, 0x07, 0x00, 0x00, 0x03};
_send_simple(init4, 11);

Expand Down
8 changes: 4 additions & 4 deletions main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ void app_main(void)
SERIAL_init();
(*GLOBAL_STATE.ASIC_functions.init_fn)(GLOBAL_STATE.POWER_MANAGEMENT_MODULE.frequency_value);

xTaskCreate(stratum_task, "stratum admin", 8192, (void *) &GLOBAL_STATE, 5, NULL);
xTaskCreate(create_jobs_task, "stratum miner", 8192, (void *) &GLOBAL_STATE, 10, NULL);
xTaskCreate(ASIC_task, "asic", 8192, (void *) &GLOBAL_STATE, 10, NULL);
xTaskCreate(ASIC_result_task, "asic result", 8192, (void *) &GLOBAL_STATE, 15, NULL);
//xTaskCreate(stratum_task, "stratum admin", 8192, (void *) &GLOBAL_STATE, 5, NULL);
//xTaskCreate(create_jobs_task, "stratum miner", 8192, (void *) &GLOBAL_STATE, 10, NULL);
//xTaskCreate(ASIC_task, "asic", 8192, (void *) &GLOBAL_STATE, 10, NULL);
//xTaskCreate(ASIC_result_task, "asic result", 8192, (void *) &GLOBAL_STATE, 15, NULL);
}
}

Expand Down

0 comments on commit bc4eb89

Please sign in to comment.