Skip to content

Commit

Permalink
LBP6000 code cleanup
Browse files Browse the repository at this point in the history
Follow naming convention
  • Loading branch information
mounaiban committed Oct 8, 2022
1 parent d531151 commit 7753fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/prn_lbp2900.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static const uint8_t lbp3010_gpio_init[] = {
0x00, 0x00, /* S7 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};

static const uint8_t lbp6000_init[] = {
static const uint8_t lbp6000_job_init[] = {
0x01, 0x00,
};

Expand Down Expand Up @@ -211,7 +211,7 @@ static void lbp6000_job_prologue(struct printer_state_s *state)
capt_sendrecv(CAPT_GPIO, lbp3010_gpio_init, ARRAY_SIZE(lbp3010_gpio_init), NULL, 0);
lbp2900_wait_ready(state->ops);

capt_sendrecv(CAPT_LBP6000_SETUP_0, lbp6000_init, ARRAY_SIZE(lbp6000_init), NULL, 0);
capt_sendrecv(CAPT_LBP6000_SETUP_0, lbp6000_job_init, ARRAY_SIZE(lbp6000_job_init), NULL, 0);
lbp2900_wait_ready(state->ops);

send_job_start(1, 0);
Expand Down

0 comments on commit 7753fb3

Please sign in to comment.