mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-04-10 04:49:16 +02:00
fix another pointer error
This commit is contained in:
parent
00a3a0ba3d
commit
5cf16e1bcf
@ -168,7 +168,7 @@ void stratum_task(void * pvParameters)
|
||||
free(line);
|
||||
|
||||
if (stratum_api_v1_message.method == MINING_NOTIFY) {
|
||||
SYSTEM_notify_new_ntime(&GLOBAL_STATE->SYSTEM_MODULE, stratum_api_v1_message.mining_notification->ntime);
|
||||
SYSTEM_notify_new_ntime(GLOBAL_STATE, stratum_api_v1_message.mining_notification->ntime);
|
||||
if (stratum_api_v1_message.should_abandon_work &&
|
||||
(GLOBAL_STATE->stratum_queue.count > 0 || GLOBAL_STATE->ASIC_jobs_queue.count > 0)) {
|
||||
ESP_LOGI(TAG, "abandoning work");
|
||||
|
Loading…
x
Reference in New Issue
Block a user