mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-28 02:31:56 +01:00
15 lines
368 B
C
15 lines
368 B
C
#ifndef ASIC_TASK_H_
|
|
#define ASIC_TASK_H_
|
|
|
|
#include "mining.h"
|
|
typedef struct
|
|
{
|
|
// ASIC may not return the nonce in the same order as the jobs were sent
|
|
// it also may return a previous nonce under some circumstances
|
|
// so we keep a list of jobs indexed by the job id
|
|
bm_job **active_jobs;
|
|
} AsicTaskModule;
|
|
|
|
void ASIC_task(void *pvParameters);
|
|
|
|
#endif |