Skip to content

Commit

Permalink
Reduce invalid job found from error to info
Browse files Browse the repository at this point in the history
  • Loading branch information
eandersson committed Nov 15, 2024
1 parent 2284c7c commit 47545b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/asic/bm1366.c
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ task_result * BM1366_proccess_work(void * pvParameters)
GlobalState * GLOBAL_STATE = (GlobalState *) pvParameters;

if (GLOBAL_STATE->valid_jobs[job_id] == 0) {
ESP_LOGE(TAG, "Invalid job found, 0x%02X", job_id);
ESP_LOGI(TAG, "Invalid job found, 0x%02X", job_id);
return NULL;
}

Expand Down
2 changes: 1 addition & 1 deletion components/asic/bm1368.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ task_result * BM1368_proccess_work(void * pvParameters)
GlobalState * GLOBAL_STATE = (GlobalState *) pvParameters;

if (GLOBAL_STATE->valid_jobs[job_id] == 0) {
ESP_LOGE(TAG, "Invalid job found, 0x%02X", job_id);
ESP_LOGI(TAG, "Invalid job found, 0x%02X", job_id);
return NULL;
}

Expand Down
2 changes: 1 addition & 1 deletion components/asic/bm1370.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ task_result * BM1370_proccess_work(void * pvParameters)
GlobalState * GLOBAL_STATE = (GlobalState *) pvParameters;

if (GLOBAL_STATE->valid_jobs[job_id] == 0) {
ESP_LOGE(TAG, "Invalid job nonce found, 0x%02X", job_id);
ESP_LOGI(TAG, "Invalid job nonce found, 0x%02X", job_id);
return NULL;
}

Expand Down

0 comments on commit 47545b4

Please sign in to comment.