mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-26 17:51:45 +01:00
miner: fix job packet id logic
This commit is contained in:
parent
0f4c02ffe0
commit
adfb606164
@ -69,8 +69,8 @@ static void AsicTask(void * pvParameters)
|
||||
uint8_t buf[CHUNK_SIZE];
|
||||
memset(buf, 0, 1024);
|
||||
|
||||
uint8_t id = 1;
|
||||
while (1) {
|
||||
int id = 1;
|
||||
bm_job * next_bm_job = (bm_job *) queue_dequeue(&g_bm_queue);
|
||||
struct job_packet job;
|
||||
job.job_id = id++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user