fixed code organization
This commit is contained in:
parent
58e1551ad7
commit
1e0f4e51f3
|
@ -423,14 +423,7 @@ QR_TOTAL = QR_MAX_DATA + QR_DEGREE ; 44
|
|||
;-----------------------------------------------------------
|
||||
MAC _DRAW_FORMAT
|
||||
;-----------------------------------------------------------
|
||||
IF QR_SINGLE_MASK
|
||||
IF QR_VERSION = 3 || QR_VERSION = 4
|
||||
; invert 1st pixel of 1st copy (bit 0 not set in formats Q and H)
|
||||
ldy #0
|
||||
ldx #QR_SIZE-9
|
||||
jsr InvertPixel
|
||||
ENDIF
|
||||
ELSE
|
||||
IF QR_SINGLE_MASK = 0
|
||||
.idx = tmpVars
|
||||
|
||||
ldy #QR_FORMATS-1
|
||||
|
|
|
@ -203,6 +203,13 @@ CODE_LST_SIZE = . - qrCodeLst
|
|||
sta qrCodeLst,x
|
||||
dex
|
||||
bpl .loopBlack
|
||||
|
||||
IF QR_SINGLE_MASK && (QR_VERSION = 3 || QR_VERSION = 4)
|
||||
; invert 1st pixel of 1st copy (bit 0 not set in formats Q and H)
|
||||
ldy #0
|
||||
ldx #QR_SIZE-9
|
||||
jsr InvertPixel
|
||||
ENDIF
|
||||
ENDM
|
||||
|
||||
include QRCodeGen.inc
|
||||
|
|
Loading…
Reference in New Issue