A fix for the fix.

This commit is contained in:
OBattler
2018-11-09 20:02:33 +01:00
parent 1723c914cb
commit b42d380f3b
2 changed files with 4 additions and 4 deletions

View File

@@ -8,7 +8,7 @@
* *
* Implementation of the Generic ESC/P Dot-Matrix printer. * Implementation of the Generic ESC/P Dot-Matrix printer.
* *
* Version: @(#)prt_escp.c 1.0.4 2018/11/09 * Version: @(#)prt_escp.c 1.0.5 2018/11/09
* *
* Authors: Michael Dr<44>ing, <michael@drueing.de> * Authors: Michael Dr<44>ing, <michael@drueing.de>
* Fred N. van Kempen, <decwiz@yahoo.com> * Fred N. van Kempen, <decwiz@yahoo.com>
@@ -192,7 +192,6 @@ typedef struct {
uint16_t pitch; uint16_t pitch;
uint8_t *pixels; /* grayscale pixel data */ uint8_t *pixels; /* grayscale pixel data */
uint8_t ctrl;
} psurface_t; } psurface_t;
@@ -283,6 +282,7 @@ typedef struct {
* commands. -1 = use default */ * commands. -1 = use default */
int8_t msb; /* MSB mode, -1 = off */ int8_t msb; /* MSB mode, -1 = off */
uint8_t ctrl;
} escp_t; } escp_t;

View File

@@ -15,7 +15,7 @@
* printer mechanics. This would lead to a page being 66 lines * printer mechanics. This would lead to a page being 66 lines
* of 80 characters each. * of 80 characters each.
* *
* Version: @(#)prt_text.c 1.0.4 2018/11/09 * Version: @(#)prt_text.c 1.0.5 2018/11/09
* *
* Author: Fred N. van Kempen, <decwiz@yahoo.com> * Author: Fred N. van Kempen, <decwiz@yahoo.com>
* *
@@ -92,7 +92,6 @@ typedef struct {
uint8_t h; uint8_t h;
char *chars; /* character data */ char *chars; /* character data */
uint8_t ctrl;
} psurface_t; } psurface_t;
@@ -129,6 +128,7 @@ typedef struct {
int8_t int_pending; int8_t int_pending;
int8_t error; int8_t error;
int8_t autofeed; int8_t autofeed;
uint8_t ctrl;
} prnt_t; } prnt_t;