refactor(printer): replace direct_printer with printer naming
This commit is contained in:
@@ -135,11 +135,11 @@ esp_err_t printer_protocol_submit_raster_job_ex(const uint8_t *raster,
|
||||
s_jobs[idx].width = width;
|
||||
s_jobs[idx].height = height;
|
||||
s_jobs[idx].data_len = raster_len;
|
||||
s_jobs[idx].direct_ignore_precheck = (options != NULL && options->direct_ignore_precheck);
|
||||
s_jobs[idx].ignore_precheck = (options != NULL && options->ignore_precheck);
|
||||
s_jobs[idx].created_ms = esp_timer_get_time() / 1000;
|
||||
s_jobs[idx].data = copy;
|
||||
strlcpy(s_jobs[idx].density, density != NULL ? density : "中等", sizeof(s_jobs[idx].density));
|
||||
bool ignore_precheck = s_jobs[idx].direct_ignore_precheck;
|
||||
bool ignore_precheck = s_jobs[idx].ignore_precheck;
|
||||
|
||||
xSemaphoreGive(s_mutex);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user