mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-26 17:51:45 +01:00
DEFAULT_JOB_TIMEOUT comment
This commit is contained in:
parent
552795d61e
commit
30ee3f9dbb
@ -114,7 +114,7 @@ static void AsicTask(void * pvParameters)
|
||||
send_work(&job); //send the job to the ASIC
|
||||
|
||||
//wait for a response
|
||||
int received = serial_rx(buf, 9, DEFAULT_JOB_TIMEOUT); //TODO: this timeout should be related to the hash frequency
|
||||
int received = serial_rx(buf, 9, DEFAULT_JOB_TIMEOUT); //TODO: this timeout should be 2^32/hashrate
|
||||
|
||||
if (received < 0) {
|
||||
ESP_LOGI(TAG, "Error in serial RX");
|
||||
|
Loading…
x
Reference in New Issue
Block a user