hiti: fix compile error (missed a chunk when commiting)
This commit is contained in:
parent
3e26608a69
commit
498fde721d
|
@ -74,7 +74,7 @@ struct hiti_cmd {
|
|||
/* Job Control */
|
||||
#define CMD_JC_SJ 0x0500 /* Start Job (3 arg) */
|
||||
#define CMD_JC_EJ 0x0501 /* End Job (3 arg) */
|
||||
#define CMD_JC_QJC 0x0502 /* Query Job Completed (5 arg) XX */
|
||||
#define CMD_JC_QJC 0x0502 /* Query Job Completed (5 arg) XX 6 byte resp */
|
||||
#define CMD_JC_QQA 0x0503 /* Query Jobs Queued or Active (3 arg) */
|
||||
#define CMD_JC_RSJ 0x0510 /* Resume Suspended Job (3 arg) XX */
|
||||
|
||||
|
@ -94,6 +94,7 @@ struct hiti_cmd {
|
|||
#define CMD_ERDC_RHA 0x801C /* Read Highlight Adjustment (6 resp) RE */
|
||||
|
||||
// 8008 seen in Windows Comm @ 3211 (0 len response)
|
||||
// 800c seen on p51x (4 byte response 00 87 00 02)
|
||||
// 8011 seen in Windows Comm @ 3369 (1 arg req (always 00), 4 len response)
|
||||
|
||||
/* Extended Format Data */
|
||||
|
@ -184,7 +185,8 @@ struct hiti_erdc_rs { /* All are BIG endian */
|
|||
uint16_t dpi_rows; /* fixed at 300 */
|
||||
uint16_t cols; /* 1844 for 6" media */
|
||||
uint16_t rows; /* 1240 for 6x4" media */
|
||||
uint8_t unk2[18]; // ff ff 4b 4b 4b 4b af 3c 4f 7b 19 08 5c 0a b4 64 af af
|
||||
uint8_t unk2[18]; // ff ff 4b 4b 4b 4b af 3c 4f 7b 19 08 5c 0a b4 64 af af (p520l)
|
||||
// 55 a0 96 96 96 96 d2 78 0e 3f 6e 08 5c 09 82 40 d2 a0 (p510s)
|
||||
} __attribute__((packed));
|
||||
|
||||
/* CMD_JC_* */
|
||||
|
@ -1096,7 +1098,6 @@ static uint8_t *hiti_get_correction_data(struct hiti_ctx *ctx, uint8_t mode)
|
|||
break;
|
||||
case P_HITI_51X:
|
||||
if (mediatype == 0x1000) { /* CHC media */
|
||||
|
||||
if (mode) {
|
||||
switch(mediaver) {
|
||||
case 0:
|
||||
|
@ -2438,7 +2439,7 @@ static int hiti_query_unk8010(struct hiti_ctx *ctx)
|
|||
int ret;
|
||||
uint16_t len = sizeof(ctx->unk_8010);
|
||||
|
||||
ret = hiti_docmd_resp(ctx, CMD_ERDC_UNK, NULL, 0, ctx->unk_8010, &len);
|
||||
ret = hiti_docmd_resp(ctx, CMD_ERDC_UNK1, NULL, 0, ctx->unk_8010, &len);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
|
Loading…
Reference in New Issue