From 5e8f48034d1d1f0c13794acca41fbaef0a4fdd2e Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Wed, 10 Jul 2019 08:07:08 +0200 Subject: [PATCH] display: Fix unbalanced comment and line ending. The use of the DAC (program counter) isn't fully implemented yet, so is put inside NOTYET. --- display/type340.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/display/type340.c b/display/type340.c index cffb70d2..2e656178 100644 --- a/display/type340.c +++ b/display/type340.c @@ -115,7 +115,9 @@ enum jump_type { DJP=2, DJS=3, DDS=1 }; /* type 347 */ /* put all the state in a struct "just in case" */ static struct type340 { -/* ty340word DAC; /* Display Address Counter */ +#ifdef NOTYET + ty340word DAC; /* Display Address Counter */ +#endif ty340word status; /* see ST340_XXX in type340.h */ signed short xpos, ypos; /* 10 bits, signed (for OOB checks) */ char initialized; /* 0 before display_init */ @@ -174,7 +176,7 @@ ty340_reset(void *dptr) #if TYPE342 u->shift = 0; u->width = 6; - u->height = 11; + u->height = 11; #endif #if TYPE347 u->SAVE_FF = 0;